Generating Unit Tests in Visual Studio Code with GitHub Copilot

Veröffentlicht am: 18 Juli 2024
auf dem Kanal: Will Velida
4,655
36

Testing is crucial to developing quality software, as it ensures that the functionality that we implement in our applications work as intended. Creating unit tests manually can be time-consuming and error-prone. There's edge cases and boundary conditions that we need to be mindful of, and GitHub Copilot can help identify these for us.

In this video, we're going to learn how we can use GitHub Copilot and GitHub Copilot Chat in Visual Studio Code to generate unit tests, using the Chat view, inline chat and code completions.

0:00 Introduction
2:08 Tour of our application
2:52 Using the Chat view to generate unit tests
6:30 Using the inline chat to generate unit tests
9:18 Refining prompts for more precise unit tests
11:17 Covering edge cases with GitHub Copilot
13:28 Running our unit tests
14:33 Wrap up

Connect with me!
Twitter:   / willvelida  
GitHub: https://github.com/willvelida
Bluesky: https://bsky.app/profile/willvelida.b...


Auf dieser Seite können Sie das Online-Video Generating Unit Tests in Visual Studio Code with GitHub Copilot mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Will Velida 18 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,655 Mal angesehen und es wurde von 36 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!