Generating Unit Tests in Visual Studio Code with GitHub Copilot

Publicado el: 18 julio 2024
en el canal de: 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...


En esta página del sitio puede ver el video en línea Generating Unit Tests in Visual Studio Code with GitHub Copilot de Duración hora minuto segunda en buena calidad , que subió el usuario Will Velida 18 julio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,655 veces y le gustó 36 a los espectadores. Disfruta viendo!