Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the failure messages when tests fail. (#298)
- The line numbers in the error messages now refer to the function that calls `shouldBe*`, instead of the location of the assertion inside of `shouldBe*`. - The error messages now include the actual exit code, stdout and stderr from the failed invocation. - The slight downside of this change is that the expected value for code/stdout/stderr no longer appears in the error message. Expected values are normally easily visible in the test code itself, so this should not be too painful.
- Loading branch information