File tree Expand file tree Collapse file tree
src/test/java/com/baeldung/javaslang
src/test/java/com/baeldung/metrics/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 <target >1.8</target >
4545 </configuration >
4646 </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 >
4759 </plugins >
4860 </build >
4961</project >
Original file line number Diff line number Diff line change 1111
1212import static javaslang .API .*;
1313
14- public class PropertyBasedTest {
14+ public class PropertyBasedLongRunningUnitTest {
1515
1616 private static Predicate <Integer > divisibleByTwo = i -> i % 2 == 0 ;
1717 private static Predicate <Integer > divisibleByFive = i -> i % 5 == 0 ;
Original file line number Diff line number Diff line change 6969 <target >${maven.compiler.target} </target >
7070 </configuration >
7171 </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 >
7284 </plugins >
7385 </build >
7486
Original file line number Diff line number Diff line change 1111import static org .junit .Assert .assertEquals ;
1212import static org .junit .Assert .assertThat ;
1313
14- public class MetricsTest {
14+ public class MetricsIntegrationTest {
1515 @ Test
1616 public void whenMarkMeter_thenCorrectRates () throws InterruptedException {
1717 Meter meter = new Meter ();
You can’t perform that action at this time.
0 commit comments