Created
February 20, 2019 20:04
-
-
Save wkorando/d7c71345c6d0b91ebb37f3b029c94314 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestKitExample { | |
@Test | |
void failIfTestsAreSkipped() { | |
Events testEvents = EngineTestKit | |
.engine("junit-jupiter") | |
.selectors(selectClass(TestKitSubject.class)) | |
.execute() | |
.tests(); | |
testEvents.assertStatistics(stats -> stats.skipped(1)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment