Read the Maven summary: how many tests did not pass?
QuizEasy-MediumAsked in: Capgemini, Google, Salesforce, TCS, Zupee
Read the end of the JUnit 5 run.
console.log
[INFO] Results: [INFO] [ERROR] Failures: [ERROR] CartTest.removeItem:58 expected: <0> but was: <1> [ERROR] CheckoutTest.applyCoupon:91 expected: <90.0> but was: <100.0> [ERROR] Errors: [ERROR] SearchTest.filterByPrice:44 NoSuchElement no such element: Unable to locate element [INFO] [ERROR] Tests run: 120, Failures: 2, Errors: 1, Skipped: 3 [INFO] [INFO] BUILD FAILURE
How many tests did not pass because of a failed assertion or an unexpected exception?
- 3 (2 failures and 1 error)
- 2
- 6
- 120
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.