-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Parametrised JUnit tests currently unsupported. This is because JUnit4 doesn't support them [https://github.com/junit-team/junit4/issues/664] whereas JUnit 5 does.
We'd need to think about what arguments are provided for parameters. There's also stuff like this in Checkstyle's MainTest:
public void testPrintSuppressionAndTabWidthOption(@SysErr Capturable systemErr,
@SysOut Capturable systemOut) {
where there are parameters, but we have arguments for them.
Besides implementing actual support, these tests are stripped out in:
Project.parseMavenTestReportForModule
Profiler.profileTestSuite
MemoryProfiler.profileTestSuite
UnitTest.fromString will also need adapted to cope with parameters.