Closed emaks closed 6 years ago
Puh ... I at least identified the problem:
Filter
for rerunning failed test cases. junit-dataprovider relays on the filter description but the one from MatchDescriptions
cannot be parsed for now. It contains a not recognized "OR"
:
failing1[0: 0](Test1) OR Method failing2[0: 0](Test2)
Having only a single failed test case, though, the filter description does not contain an "OR"
and works correctly.
@aaschmid Is the any plans when you could fix this issue?
@emaks: there is but I was and I am a bit busy with some complex private issue ...
How urgent is it for you? Sounds like you have a lot blinking test cases, do you?
@aaschmid unfortunately, yes I do. I use this approach for selenium tests which are testing application with a lot of 3rd-party integrations. Those integrations are unstable and at that moment only one possible solution for this situation - re-run failed tests
Understood. Can you try version "2.4-SNAPSHOT" which I just created and uploaded to Maven Central Snapshop Repository?
<dependency>
<groupId>com.tngtech.junit.dataprovider</groupId>
<artifactId>junit4-dataprovider</artifactId>
<version>2.4-SNAPSHOT</version>
</dependency>
works as expected with this version
Thanks for the feedback. I will release version 2.4 as soon as oss.sonatype.org is available again.
Release is done and will appear on MavenCentral within the next hours, thanks @emaks for the feedback.
Maven version 3.5.4
I have maven project with next pom.xml
And 2 test classes
and
Actual result
If I run
mvn test
tests will be executed without re-run and failExpected result
Tests will pass(with re-run)
Note
If I change
on
Test will pass