You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Whitebox: handling of empty test folder causes ClassNotFoundException if test code is generated #107
If a test suite's test folders do not contain a module-info.java it is at the moment always considered whitebox test suite. If there are no files at all, this leads to an error in Gradle as it will still try to run tests. This is, because the test task is re-configured to consider the main code and test code as one module. To prevent this, the current solution is to remove the JUnit dependencies that the test suite added. This is not an optimal solution. It breaks in cases where the test code is generated and not available at configuration time.
// Remove the dependencies added by Gradle in case the test directory is missing. Then stop. This allows the use of 'useJUnitJupiter("")' without hassle.
Activity