Question

I run test cases from maven, that is from command line. Is there a way to see a reason why test failed in terminal output? I've tried raising verbosity in testng.xml to 4,hoping that it will activate TextReporter, which seems like class that prints, well, text reports, but it didn't help.

Was it helpful?

Solution

Try mvn -Dsurefire.useFile=false ... test or corresponding setting in surefire plugin configuration.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top