Recall & Review
beginner
What is the purpose of TestNG default reports?
TestNG default reports provide a summary of test execution results, showing which tests passed, failed, or were skipped. They help quickly understand test outcomes without extra setup.
Click to reveal answer
beginner
Where can you find TestNG default reports after running tests?
TestNG default reports are generated in the 'test-output' folder inside your project directory, typically as 'index.html' which you can open in a browser to view results.
Click to reveal answer
intermediate
What are the main sections shown in the TestNG default HTML report?
The main sections include: Summary (test counts and status), Groups (test groups run), Reporter output (logs), and Results (detailed test case info).
Click to reveal answer
beginner
How does TestNG categorize test results in its default report?
TestNG categorizes tests as Passed, Failed, or Skipped based on execution. Passed tests ran successfully, Failed tests had errors, and Skipped tests were not run due to dependencies or conditions.
Click to reveal answer
intermediate
Can you customize TestNG default reports without external tools?
TestNG default reports have limited customization. For advanced reports, you can use listeners or external libraries like ReportNG or Allure, but default reports are mostly fixed.
Click to reveal answer
Where does TestNG save its default reports after test execution?
✗ Incorrect
TestNG saves default reports in the 'test-output' folder inside your project directory.
Which of these is NOT a test status shown in TestNG default reports?
✗ Incorrect
TestNG default reports show Passed, Failed, and Skipped tests. 'In Progress' is not a status shown.
What file format is the main TestNG default report?
✗ Incorrect
The main TestNG default report is an HTML file, usually named 'index.html'.
Which section in TestNG default reports shows detailed test case results?
✗ Incorrect
The 'Results' section shows detailed information about each test case.
Can you fully customize TestNG default reports without extra tools?
✗ Incorrect
TestNG default reports have limited customization; advanced customization requires external tools or listeners.
Explain the main features and sections of TestNG default reports.
Think about what you see when you open the index.html report.
You got /5 concepts.
Describe how TestNG default reports help in understanding test execution outcomes.
Consider why reports are useful after running tests.
You got /5 concepts.