File tree Expand file tree Collapse file tree
src/test/java/com/baeldung/mapper Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 </annotationProcessorPaths >
5656 </configuration >
5757 </plugin >
58- </plugins >
59- </build >
58+
59+ <plugin >
60+ <groupId >org.apache.maven.plugins</groupId >
61+ <artifactId >maven-surefire-plugin</artifactId >
62+ <version >2.19.1</version >
63+ <configuration >
64+ <excludes >
65+ <exclude >**/*IntegrationTest.java</exclude >
66+ <exclude >**/*LiveTest.java</exclude >
67+ </excludes >
68+ </configuration >
69+ </plugin >
70+ </plugins >
71+ </build >
72+
73+ <profiles >
74+ <profile >
75+ <id >integration</id >
76+ <build >
77+ <plugins >
78+ <plugin >
79+ <groupId >org.apache.maven.plugins</groupId >
80+ <artifactId >maven-surefire-plugin</artifactId >
81+ <executions >
82+ <execution >
83+ <phase >integration-test</phase >
84+ <goals >
85+ <goal >test</goal >
86+ </goals >
87+ <configuration >
88+ <excludes >
89+ <exclude >**/*LiveTest.java</exclude >
90+ </excludes >
91+ <includes >
92+ <include >**/*IntegrationTest.java</include >
93+ </includes >
94+ </configuration >
95+ </execution >
96+ </executions >
97+ <configuration >
98+ <systemPropertyVariables >
99+ <test .mime>json</test .mime>
100+ </systemPropertyVariables >
101+ </configuration >
102+ </plugin >
103+ </plugins >
104+ </build >
105+ </profile >
106+ </profiles >
107+
60108</project >
Original file line number Diff line number Diff line change 1212
1313@ RunWith (SpringJUnit4ClassRunner .class )
1414@ ContextConfiguration ("classpath:applicationContext.xml" )
15- public class SimpleSourceDestinationMapperTest {
15+ public class SimpleSourceDestinationMapperIntegrationTest {
1616
1717 @ Autowired
1818 SimpleSourceDestinationMapper simpleSourceDestinationMapper ;
You can’t perform that action at this time.
0 commit comments