Incorrect exit code when a test fails · Issue #96 · postmanlabs/newman · GitHub
Newman, by default exits with a status code of 0 if everything runs well i.e. without any exceptions. Continuous integration tools respond to these exit codes and correspondingly pass or fail a build. Unfortunately - this is incorrect. If I run a collection and some tests fail inside, newman returns a return code of 0.
Read full article from Incorrect exit code when a test fails · Issue #96 · postmanlabs/newman · GitHub
No comments:
Post a Comment