GitHub Copilot Certification — Question 35

When using GitHub Copilot Chat to generate unit tests, which slash command would you use?

Answer options

Correct answer: B

Explanation

The correct command for generating unit tests in GitHub Copilot Chat is /tests, as it directly instructs the tool to create the necessary test cases. The other options, while plausible, do not correspond to the specific command needed for this function.