nerdexam
MicrosoftMicrosoft

GH-300 · Question #58

GH-300 Question #58: Real Exam Question with Answer & Explanation

The correct answer is C: Because GitHub Copilot's generated test cases may not cover all possible scenarios.. Code review is necessary because GitHub Copilot's generated test cases might not cover all possible scenarios, especially edge cases and complex interactions.

Testing with GitHub Copilot

Question

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

Options

  • ABecause GitHub Copilot can cover all possible scenarios in your test cases.
  • BBecause GitHub Copilot generates the best code possible for the test scenario.
  • CBecause GitHub Copilot's generated test cases may not cover all possible scenarios.
  • DBecause GitHub Copilot replaces the need for manual testing.

Explanation

Code review is necessary because GitHub Copilot's generated test cases might not cover all possible scenarios, especially edge cases and complex interactions.

Topics

#GitHub Copilot limitations#Code review#Test case coverage#Responsible AI use

Community Discussion

No community discussion yet for this question.

Full GH-300 PracticeBrowse All GH-300 Questions