File tree Expand file tree Collapse file tree
src/test/java/com/baeldung/cassecuredapp
libraries-data/src/test/java/com/baeldung
libraries/src/test/java/com/baeldung/awaitility Expand file tree Collapse file tree Original file line number Diff line number Diff line change 106106 </pluginRepository >
107107 </pluginRepositories >
108108
109+ <profiles >
110+ <profile >
111+ <id >integration</id >
112+ <build >
113+ <plugins >
114+ <plugin >
115+ <groupId >org.apache.maven.plugins</groupId >
116+ <artifactId >maven-surefire-plugin</artifactId >
117+ <executions >
118+ <execution >
119+ <phase >integration-test</phase >
120+ <goals >
121+ <goal >test</goal >
122+ </goals >
123+ <configuration >
124+ <excludes >
125+ <exclude >**/*LiveTest.java</exclude >
126+ <exclude >**/AutoconfigurationTest.java</exclude >
127+ </excludes >
128+ <includes >
129+ <include >**/*IntegrationTest.java</include >
130+ </includes >
131+ </configuration >
132+ </execution >
133+ </executions >
134+ <configuration >
135+ <systemPropertyVariables >
136+ <test .mime>json</test .mime>
137+ </systemPropertyVariables >
138+ </configuration >
139+ </plugin >
140+ </plugins >
141+ </build >
142+ </profile >
143+ <profile >
144+ <id >autoconfiguration</id >
145+ <build >
146+ <plugins >
147+ <plugin >
148+ <groupId >org.apache.maven.plugins</groupId >
149+ <artifactId >maven-surefire-plugin</artifactId >
150+ <executions >
151+ <execution >
152+ <phase >integration-test</phase >
153+ <goals >
154+ <goal >test</goal >
155+ </goals >
156+ <configuration >
157+ <excludes >
158+ <exclude >**/*LiveTest.java</exclude >
159+ <exclude >**/*IntegrationTest.java</exclude >
160+ </excludes >
161+ <includes >
162+ <include >**/AutoconfigurationTest.java</include >
163+ </includes >
164+ </configuration >
165+ </execution >
166+ </executions >
167+ <configuration >
168+ <systemPropertyVariables >
169+ <test .mime>json</test .mime>
170+ </systemPropertyVariables >
171+ </configuration >
172+ </plugin >
173+ </plugins >
174+ </build >
175+ </profile >
176+ </profiles >
177+
178+
109179
110180</project >
Original file line number Diff line number Diff line change 77
88@ RunWith (SpringRunner .class )
99@ SpringBootTest
10- public class CasSecuredAppApplicationTests {
10+ public class CasSecuredAppApplicationIntegrationTest {
1111
1212 @ Test
1313 public void contextLoads () {
Original file line number Diff line number Diff line change 1616import com .j256 .ormlite .jdbc .JdbcPooledConnectionSource ;
1717import com .j256 .ormlite .table .TableUtils ;
1818
19- public class ORMLiteTest {
19+ public class ORMLiteIntegrationTest {
2020 private static JdbcPooledConnectionSource connectionSource ;
2121
2222 private static Dao <Library , Long > libraryDao ;
Original file line number Diff line number Diff line change 99import com .gs .fw .common .mithra .test .ConnectionManagerForTests ;
1010import com .gs .fw .common .mithra .test .MithraTestResource ;
1111
12- public class ReladomoTest {
12+ public class ReladomoIntegrationTest {
1313 private MithraTestResource mithraTestResource ;
1414
1515 @ Before
Original file line number Diff line number Diff line change 11package com .baeldung .awaitility ;
22
3- import org .awaitility .Awaitility ;
43import org .awaitility .Duration ;
54import org .junit .Before ;
65import org .junit .Test ;
You can’t perform that action at this time.
0 commit comments