Skip to content
Krishnan Mahadevan edited this page Aug 15, 2021 · 1 revision

The below Table details the various exit codes for TestNG depending on the type of execution results

FailedWithinSuccess Skipped Failed Status Code Remarks
0 0 0 0 Passed tests
0 0 1 1 Failed tests
0 1 0 2 Skipped tests
0 1 1 3 Skipped/Failed tests
1 0 0 4 FailedWithinSuccess tests
1 0 1 5 FailedWithinSuccess/Failed tests
1 1 0 6 FailedWithinSuccess/Skipped tests
1 1 1 7 FailedWithinSuccess/Skipped/Failed tests