My FullStack tests run on Jenkins and output nothing on success, otherwise the test name and the failed line. This tells nothing about what went wrong.
Is there a way to print the assertion error message on the Jenkins console?
I have a TestWatcher
that already takes a screenshot. Should it also do a System.out.println(e.getMessage())
?
I want it to print something like this:
java.lang.AssertionError: Page is listing a different job
Expected: <true>
but: was <false>
Aucun commentaire:
Enregistrer un commentaire