QuestionQ8

Use GitHub Copilot responsibly

Why is code review still necessary when using GitHub Copilot to write tests?

  • A Because GitHub Copilot generates the best code possible for the test scenario.
  • B Because GitHub Copilot can cover all possible scenarios in your test cases.
  • C Because GitHub Copilot replaces the need for manual testing.
  • D Because GitHub Copilot’s generated test cases may not cover all possible scenarios.
Explanation

GitHub Copilot-generated test cases may omit relevant scenarios, including edge cases and conditions specific to the application. Code review is needed to validate the generated tests and add coverage where necessary.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!