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> <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>

View File

@ -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);
} }
} }