- Module 1: This module explores using the GitHub Copilot and GitHub Copilot Chat extensions for Visual Studio Code to create unit tests. Unit test projects are used to verify that the unit tests build and run successfully.
By the end of this module, you'll be able to:
Create unit tests using the GitHub Copilot and GitHub Copilot Chat extensions for Visual Studio Code.
Create unit tests that target edge cases and specific conditions using the GitHub Copilot and GitHub Copilot Chat extensions for Visual Studio Code.
Use Visual Studio Code, the .NET SDK, and the C# Dev Kit extension to create a test project and verify that your unit tests build and run successfully.
Overview
Syllabus
- Module 1: Module 1: Develop unit tests using GitHub Copilot tools
- Introduction
- Examine the unit testing tools and environment
- Exercise - Create unit tests by using GitHub Copilot Chat
- Exercise - Create unit tests for specific conditions by using GitHub Copilot
- Exercise - Complete the “create unit tests” challenge
- Review the “create unit tests” solution
- Knowledge check
- Summary