use of org.junit.platform.engine.discovery.FileSelector in project junit5 by junit-team.
the class DiscoveryRequestCreatorTests method convertsFileSelectors.
@Test
void convertsFileSelectors() {
options.setSelectedFiles(asList("foo.txt", "bar.csv"));
LauncherDiscoveryRequest request = convert();
List<FileSelector> fileSelectors = request.getSelectorsByType(FileSelector.class);
assertThat(fileSelectors).extracting(FileSelector::getRawPath).containsExactly("foo.txt", "bar.csv");
}
Aggregations