Overview
Explore effective strategies for writing better tests and preventing build breakages in this 22-minute video tutorial. Learn how to overcome common testing challenges, including time constraints and test suite friction. Discover four key wins: accelerate testing with snippets, create clearer tests using GitHub Copilot, adopt a test-first approach, and develop robust tests that withstand changes. Gain insights into best practices for unit testing in .NET and leveraging AI-assisted development tools. By the end, acquire practical skills to improve your testing process, enhance code quality, and maintain a stable build environment.
Syllabus
Stop breaking the build, write better tests
Win #1: Speed up the testing process with snippets
Win #2: Write clearer, better tests with Copilot
Win #3: Write tests first
Win #4: Tests that don't break
In summary
More on prompts
Happy Testing and Happy Coding!
Taught by
Visual Studio Code