Let the build failed if the test is not Ok

This commit is contained in:
Dassi Orleando 2017-11-30 05:52:28 +01:00
parent 3d49c4a4b6
commit 138e7fd492
2 changed files with 1 additions and 8 deletions

View File

@ -50,13 +50,6 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -6,6 +6,6 @@ import static org.junit.Assert.*;
public class SomeUnitTest {
@Test
public void init() {
assertEquals(1, 0);
assertEquals(1, 1);
}
}