Generating Unit Tests in Visual Studio Code with GitHub Copilot

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...