[testng-dev] org.testng.junit.JUnit4TestRunner handles testAssumptionFailure as a failure but it should be ignored #496

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[testng-dev] org.testng.junit.JUnit4TestRunner handles testAssumptionFailure as a failure but it should be ignored #496

Christian Asmussen
Hi testng-dev,

I've raised issue #496 on GitHub.  The subject of this message is pretty much self-explanatory.  In junit world, the follwoing test passes and when run with testng JUnit4TestRunner it fails with message " Should never happen"  :-)

@Test public void test() {
    assumeTrue(false);
    fail("Should never happen");
}


Could you please take a look at the issue?

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.