File tree Expand file tree Collapse file tree 2 files changed +47
-4
lines changed
src/test/java/io/jsonwebtoken/jjwtfun Expand file tree Collapse file tree 2 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 5858 <groupId >org.springframework.boot</groupId >
5959 <artifactId >spring-boot-maven-plugin</artifactId >
6060 </plugin >
61+ <plugin >
62+ <groupId >org.apache.maven.plugins</groupId >
63+ <artifactId >maven-surefire-plugin</artifactId >
64+ <configuration >
65+ <excludes >
66+ <exclude >**/*IntegrationTest.java</exclude >
67+ <exclude >**/*LiveTest.java</exclude >
68+ </excludes >
69+ </configuration >
70+ </plugin >
6171 </plugins >
62- </build >
63-
64-
72+ </build >
73+
74+ <profiles >
75+ <profile >
76+ <id >integration</id >
77+ <build >
78+ <plugins >
79+ <plugin >
80+ <groupId >org.apache.maven.plugins</groupId >
81+ <artifactId >maven-surefire-plugin</artifactId >
82+ <executions >
83+ <execution >
84+ <phase >integration-test</phase >
85+ <goals >
86+ <goal >test</goal >
87+ </goals >
88+ <configuration >
89+ <excludes >
90+ <exclude >**/*LiveTest.java</exclude >
91+ </excludes >
92+ <includes >
93+ <include >**/*IntegrationTest.java</include >
94+ </includes >
95+ </configuration >
96+ </execution >
97+ </executions >
98+ <configuration >
99+ <systemPropertyVariables >
100+ <test .mime>json</test .mime>
101+ </systemPropertyVariables >
102+ </configuration >
103+ </plugin >
104+ </plugins >
105+ </build >
106+ </profile >
107+ </profiles >
65108</project >
Original file line number Diff line number Diff line change 99@ RunWith (SpringJUnit4ClassRunner .class )
1010@ SpringApplicationConfiguration (classes = JJWTFunApplication .class )
1111@ WebAppConfiguration
12- public class DemoApplicationTests {
12+ public class DemoApplicationIntegrationTest {
1313
1414 @ Test
1515 public void contextLoads () {
You can’t perform that action at this time.
0 commit comments