Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestKitExample {
- @Test
- void failIfTestsAreSkipped() {
- Events testEvents = EngineTestKit
- .engine("junit-jupiter")
- .selectors(selectClass(TestKitSubject.class))
- .execute()
- .tests();
- testEvents.assertStatistics(stats -> stats.skipped(1));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement