how to interpret testng console log message for passing tests?
Posted
by
Kunal Cholera
on Stack Overflow
See other posts from Stack Overflow
or by Kunal Cholera
Published on 2012-03-22T22:59:15Z
Indexed on
2012/03/22
23:29 UTC
Read the original article
Hit count: 177
unit-testing
|testng
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.
© Stack Overflow or respective owner