Skip to content
Sharp

Testing · interview question

In Gradle, which task is responsible for executing tests?

Multiple choiceEasychapter-10-curatedpremiumtestingintegration-testing
Choose one answer
Answer and explanation

Correct answer

A. Test

Why

The 'test' task in Gradle is responsible for executing tests. This task runs the project's unit and integration tests, providing feedback on the code's correctness and reliability before further packaging or deployment.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →