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>
|
||||
<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>
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ import static org.junit.Assert.*;
|
|||
public class SomeUnitTest {
|
||||
@Test
|
||||
public void init() {
|
||||
assertEquals(1, 0);
|
||||
assertEquals(1, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue