Skip to content

Commit

Permalink
multi-env test - yea...
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Sep 4, 2024
1 parent 389a228 commit 7789b10
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ void junitJupiter() {
.list()
.stream()
.map(e -> e.getTestDescriptor().getUniqueId()))
.isNotEmpty()
.allSatisfy(id -> assertThat(id.getEngineId()).hasValue(JupiterEngineDescriptor.ENGINE_ID));
.isEmpty();
}

@Test
Expand All @@ -58,8 +57,12 @@ void plainTest() {
.filters(new MultiEnvTestFilter())
.execute()
.testEvents()
.list())
.isEmpty(); // plain tests are excluded
.list()
.stream()
.map(e -> e.getTestDescriptor().getUniqueId()))
.isNotEmpty()
.noneSatisfy(
id -> assertThat(id.getEngineId()).hasValue(JupiterEngineDescriptor.ENGINE_ID));
}

@Test
Expand Down

0 comments on commit 7789b10

Please sign in to comment.