Is there a TestNG method similar to ErrorCollector in Junit

Is there a TestNG method similar to ErrorCollector in Junit with which we can display errors / exceptions in tesng?

thnaks in advance

+3


source to share


1 answer


It looks like SoftAsserts. TestNG recently introduced soft assertions in 6.8.

import org.testng.asserts.SoftAssert;

      



More details @ http://beust.com/weblog/2012/07/29/reinventing-assertions/

+4


source







All Articles