コードのテスト
GitHub Copilot を使ってコードをテストする方法について説明します。
単体テストを生成する
Copilot Chat は、関数の単体テストの生成に役立ちます。
Creating mock objects to abstract layers
Copilot Chat can help with creating mock objects that you can use for unit tests.
Creating end-to-end tests for a webpage
Copilot Chat can help with generating end-to-end tests.