views:

10

answers:

1

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.

A: 

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

Eugene Kuleshov