Skip to content

skillrepos/copilot-testing

Repository files navigation

Automated Testing with GitHub Copilot - lab setup

These instructions will guide you through configuring a GitHub Codespaces environment that you can use to run the course labs. If you prefer and if you know one of the other IDEs supported by Copilot, you can use that. But the instructions will reference the codespace version.

These steps must be completed prior to starting the actual labs.

Step 1. Ensure that you are signed up for Copilot access.

If not, when signed into GitHub, click on your profile picture/icon in the upper right and either select Copilot

Signing up for Copilot

OR select Settings->Copilot and sign up.

Signing up for Copilot

You can also find help there for using Copilot in other supported IDEs, set the switch for whether or not to allow matching public code suggestions, etc.

Using Copilot options

Step 2. To create your working environment for the labs, create a codespace by clicking on the button below:

Click on this button ⬇️

            Open in GitHub Codespaces



Then click on the option to create a new codespace.

            Creating new codespace from button

            This will run for several minutes while it gets everything ready.

            - After the codespace has initialized there will be a terminal present.



Step 3. Open the labs

After the codespace has started, open the labs document by going to the file tree on the left, find the file named labs.md, right-click on it, and open it with the Preview option.)

Labs doc preview in codespace

This will open it up in a tab above your terminal. Then you can follow along with the steps in the labs. Any command in the gray boxes is either code intended to be run in the console or code to be updated in a file.

Labs doc: Copilot Testing Labs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages