File tree 4 files changed +26
-2
lines changed
src/test/java/com/baeldung/javaslang
src/test/java/com/baeldung/metrics/core
4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 44
44
<target >1.8</target >
45
45
</configuration >
46
46
</plugin >
47
+ <plugin >
48
+ <groupId >org.apache.maven.plugins</groupId >
49
+ <artifactId >maven-surefire-plugin</artifactId >
50
+ <configuration >
51
+ <excludes >
52
+ <exclude >**/*IntegrationTest.java</exclude >
53
+ <exclude >**/*LongRunningUnitTest.java</exclude >
54
+ <exclude >**/*ManualTest.java</exclude >
55
+ </excludes >
56
+ <testFailureIgnore >true</testFailureIgnore >
57
+ </configuration >
58
+ </plugin >
47
59
</plugins >
48
60
</build >
49
61
</project >
Original file line number Diff line number Diff line change 11
11
12
12
import static javaslang .API .*;
13
13
14
- public class PropertyBasedTest {
14
+ public class PropertyBasedLongRunningUnitTest {
15
15
16
16
private static Predicate <Integer > divisibleByTwo = i -> i % 2 == 0 ;
17
17
private static Predicate <Integer > divisibleByFive = i -> i % 5 == 0 ;
Original file line number Diff line number Diff line change 69
69
<target >${maven.compiler.target} </target >
70
70
</configuration >
71
71
</plugin >
72
+ <plugin >
73
+ <groupId >org.apache.maven.plugins</groupId >
74
+ <artifactId >maven-surefire-plugin</artifactId >
75
+ <configuration >
76
+ <excludes >
77
+ <exclude >**/*IntegrationTest.java</exclude >
78
+ <exclude >**/*LongRunningUnitTest.java</exclude >
79
+ <exclude >**/*ManualTest.java</exclude >
80
+ </excludes >
81
+ <testFailureIgnore >true</testFailureIgnore >
82
+ </configuration >
83
+ </plugin >
72
84
</plugins >
73
85
</build >
74
86
Original file line number Diff line number Diff line change 11
11
import static org .junit .Assert .assertEquals ;
12
12
import static org .junit .Assert .assertThat ;
13
13
14
- public class MetricsTest {
14
+ public class MetricsIntegrationTest {
15
15
@ Test
16
16
public void whenMarkMeter_thenCorrectRates () throws InterruptedException {
17
17
Meter meter = new Meter ();
You can’t perform that action at this time.
0 commit comments