Start free

Browse › GitHub

Write Unit Tests Automatically by Using Copilot

Guided

Part of GitHub Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

Prerequisite Required for This lab. Before starting, complete the Set Up Git and Connect to GitHub lab.

  1. The prerequisite lab only needs to be completed once for all labs in this series
  2. In this lab, you will write unit tests automatically using Copilot
  3. Configure Visual Studio Code to support Python development
  4. Set up GitHub Copilot to assist in coding
  5. Create and test a simple Python script
  6. Implement unit tests using GitHub Copilot to ensure your code is reliable

Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

  • ⏱ About 30 minutes
  • Counts towards: GitHub Foundations