Let the build failed if the test is not Ok
This commit is contained in:
parent
3d49c4a4b6
commit
138e7fd492
|
@ -50,13 +50,6 @@
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>2.17</version>
|
<version>2.17</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<testFailureIgnore>true</testFailureIgnore>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,6 @@ import static org.junit.Assert.*;
|
||||||
public class SomeUnitTest {
|
public class SomeUnitTest {
|
||||||
@Test
|
@Test
|
||||||
public void init() {
|
public void init() {
|
||||||
assertEquals(1, 0);
|
assertEquals(1, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue