Open bmk15897 opened 1 year ago
Hi,
Sorry for the late response. Yes, we are aware that iDFlakies currently does not proceed when there are both JUnit 4 and JUnit 5 tests in the project at the same time. Potentially, we can modify iDFlakies to always use JUnit 5 even if there are JUnit 4 tests, as JUnit 5 should be able to still support JUnit 4, though we have not looked into this yet. I unfortunately will likely not have much time to try and implement such a feature this week; how urgent do you need to resolve this issue?
Alternatively, iDFlakies should already have an option, dt.detector.forceJUnit4
, which can be set to force running JUnit 4 only, in case that suffices.
While running iDFlakies for
https://github.com/alibaba/fastjson2
, the following message was printed.Commands to reproduce -