Skip to content

Commit f834780

Browse files
authored
Merge pull request #50738 from wwlpublish/5a44f90d167093ecd22070d686dea88d4b17f12c19b76e6cf52de193449512be-live
Modules/M04-develop-unit-tests-using-github-copilot-tools
2 parents bc58979 + af0b85a commit f834780

11 files changed

+28
-21
lines changed

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/2-examine-github-copilot-support-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Examine the unit testing tools and environment
44
metadata:
55
title: Examine the unit testing tools and environment
66
description: "Examine the unit testing tools and environment"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/3-create-unit-tests-generate-tests-smart-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create unit tests using the Generate Tests smart action
44
metadata:
55
title: Create unit tests using the Generate Tests smart action
66
description: "Create unit tests using the Generate Tests smart action"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/4-create-unit-tests-inline-chat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create unit tests using Inline Chat
44
metadata:
55
title: Create unit tests using Inline Chat
66
description: "Create unit tests using Inline Chat"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/5-create-unit-tests-chat-view-modes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create unit tests using Chat view modes
44
metadata:
55
title: Create unit tests using Chat view modes
66
description: "Create unit tests using Chat view modes"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/6-exercise-develop-unit-tests-github-copliot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Develop unit tests using GitHub Copilot
44
metadata:
55
title: Exercise - Develop unit tests using GitHub Copilot
66
description: "Exercise - Develop unit tests using GitHub Copilot."
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/7-knowledge-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
ai_generated_module_assessment: true
77
title: Module assessment
88
description: "Knowledge check"
9-
ms.date: 05/28/2025
9+
ms.date: 06/02/2025
1010
author: wwlpublish
1111
ms.author: cahowd
1212
ms.topic: unit
@@ -70,4 +70,4 @@ quiz:
7070
explanation: "Correct. GitHub Copilot can suggest a range of unit tests based on the code context, which can save development time."
7171
- content: "It automatically fixes bugs in the code."
7272
isCorrect: false
73-
explanation: "Incorrect. GitHub Copilot does not fix bugs. GitHub Copilot helps generate unit tests."
73+
explanation: "Incorrect. GitHub Copilot does not fix bugs. GitHub Copilot helps generate unit tests."

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/8-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 05/28/2025
7+
ms.date: 06/02/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/includes/1-introduction.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ Imagine you're a software developer working on a large codebase. Your team is ta
66

77
The topics covered in this module include:
88

9-
- Creating unit tests in Visual Studio Code using GitHub Copilot and GitHub Copilot Chat.
10-
- Creating specific unit tests for edge cases and boundary conditions using GitHub Copilot Chat.
11-
- Creating unit test projects and managing unit tests in Visual Studio Code.
12-
- Completing a "create unit tests" challenge and reviewing a possible solution.
9+
- Using GitHub Copilot and Visual Studio Code for unit testing.
10+
- Generate unit tests with GitHub Copilot's Generate Tests smart action.
11+
- Creating unit tests with GitHub Copilot Inline Chat.
12+
- Creating unit tests with GitHub Copilot Chat Modes.
13+
- Developing unit tests with GitHub Copilot in C#.
1314

14-
By the end of this module, you're able to use GitHub Copilot and Visual Studio Code tools to efficiently create, manage, and run unit tests. Using GitHub Copilot improves the reliability of your codebase and saves valuable development time.
15+
After completing this module, you’ll be able to:
16+
17+
- Explain how GitHub Copilot Chat supports various testing tasks, including unit, integration, and end-to-end tests.
18+
- Use the Generate Tests smart action to create unit tests for specific code blocks or entire files.
19+
- Leverage the Inline Chat feature to generate and refine unit tests directly within the code editor.
20+
- Utilize the Chat view modes—Ask, Edit, and Agent—to create, update, and automate unit test workflows.
21+
- Apply GitHub Copilot's capabilities to streamline the development of unit tests for a C# application in Visual Studio Code.
1522

1623
> [!IMPORTANT]
1724
> To complete this GitHub Copilot training, you must have an active subscription for GitHub Copilot in your personal GitHub account (includes the GitHub Copilot Free plan), or you must be assigned to a subscription managed by an organization or enterprise. Module activities may include GitHub Copilot suggestions that match public code. If you're a member of an organization on GitHub Enterprise Cloud who has been assigned a GitHub Copilot subscription through your organization, the setting for suggestions matching public code may be inherited from your organization or enterprise. If your account blocks suggestions that match public code, module activities may not work as expected.

learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/includes/8-summary.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ The main takeaways from this module are the efficient and effective creation and
44

55
Additional Reading:
66

7-
1. [GitHub Copilot documentation](https://docs.github.com/copilot)
8-
1. [GitHub Copilot in Visual Studio Code](https://code.visualstudio.com/docs/copilot/overview)
9-
1. [GitHub Copilot in Visual Studio Code - FAQ](https://code.visualstudio.com/docs/copilot/faq)
10-
1. [GitHub Copilot in Visual Studio Code - Cheat Sheet](https://code.visualstudio.com/docs/copilot/reference/copilot-vscode-features)
11-
1. [GitHub Copilot in Visual Studio Code - Workspace Context](https://code.visualstudio.com/docs/copilot/reference/workspace-context)
12-
1. [Testing with the C# Dev Kit](https://code.visualstudio.com/docs/csharp/testing)
7+
- [GitHub Copilot documentation](https://docs.github.com/copilot)
8+
- [GitHub Copilot in Visual Studio Code](https://code.visualstudio.com/docs/copilot/overview)
9+
- [GitHub Copilot in Visual Studio Code - FAQ](https://code.visualstudio.com/docs/copilot/faq)
10+
- [GitHub Copilot in Visual Studio Code - Cheat Sheet](https://code.visualstudio.com/docs/copilot/reference/copilot-vscode-features)
11+
- [GitHub Copilot in Visual Studio Code - Workspace Context](https://code.visualstudio.com/docs/copilot/reference/workspace-context)
12+
- [Testing with the C# Dev Kit](https://code.visualstudio.com/docs/csharp/testing)

0 commit comments

Comments
 (0)