public void looks_for_tests_from_directories_on_classpath() throws IOException {
Path libraryJar = tryRepeatedly(() -> tempDir.newFile("library.jar").toPath());
Path folder1 = tryRepeatedly(() -> tempDir.newFolder("folder1").toPath());
Path folder2 = tryRepeatedly(() -> tempDir.newFolder("folder2").toPath());
SuiteConfigurationBuilder suite = new SuiteConfigurationBuilder()
.setIncludedTestsPattern("glob:the pattern")
.addToClasspath(libraryJar)
.addToClasspath(folder1)
.addToClasspath(folder2);
List<Path> classesDirectories = SuiteFactory.getClassDirectories(suite.freeze());
assertThat(classesDirectories, contains(folder1, folder2));
}