how to interpret testng console log message for passing tests?
- by Kunal Cholera
I ran testng tests for my test classes,
I get the following three types of log output when I run the passing tests.
I am using org.testng.AssertJUnit.assertTrue() methods in my tests.
[testng] PASSED: testMethod1 on null(test.foo.bar.Class1)
[testng] PASSED: testMethod2 on Default test name(test.foo.bar.jar.Class2)
[testng] PASSED: testMethod3
Can any one please tell me why for some tests it says "on null" for some it says "on Default test name ... " and for some it does not say anything on the console output.
Specifically I want to make it consistent message.
Environment : linux
Testng framework : 6.3.2beta
please advise.
thanks.