We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a5ddf commit c469b8fCopy full SHA for c469b8f
src/test/java/org/fugerit/java/junit5/tag/check/TestStatsTest.java
@@ -0,0 +1,24 @@
1
+package org.fugerit.java.junit5.tag.check;
2
+
3
+import org.fugerit.java.junit5.tag.check.model.TestStats;
4
+import org.junit.jupiter.api.Assertions;
5
+import org.junit.jupiter.api.Test;
6
7
+class TestStatsTest {
8
9
+ @Test
10
+ void testStats() {
11
+ TestStats stats = new TestStats();
12
+ stats.increaseErrors();
13
+ stats.increaseFailed();
14
+ stats.increaseSkipped();
15
+ stats.increaseTotal();
16
17
18
+ Assertions.assertEquals( 1, stats.getErrors() );
19
+ Assertions.assertEquals( 1, stats.getFailed() );
20
+ Assertions.assertEquals( 1, stats.getSkipped() );
21
+ Assertions.assertEquals( 3, stats.getTotal() );
22
+ }
23
24
+}
0 commit comments