Testing code
Discover ways that you can use GitHub Copilot to test your code.
Generate unit tests
Copilot Chat can help with generating unit tests for a function.
Create mock objects to abstract layers
Copilot Chat can help with creating mock objects that you can use for unit tests.
Create end-to-end tests for a webpage
Copilot Chat can help with generating end-to-end tests.