Skip to content

Commit d6ecd16

Browse files
MherBaghinyanpivovarit
authored andcommitted
Bael 1864 (eugenp#4727)
* running project without building tests * include the DataCheck class * Update TestFail.java
1 parent a8b0d47 commit d6ecd16

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

maven/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@
4848
<exclude>DataTest.java</exclude>
4949
</excludes>
5050
<includes>
51+
<include>TestFail.java</include>
5152
<include>DataCheck.java</include>
5253
</includes>
54+
<testFailureIgnore>true</testFailureIgnore>
5355
</configuration>
5456
</plugin>
5557
<plugin>
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package testfail;
2+
3+
import org.junit.Test;
4+
5+
import static org.junit.Assert.assertNotNull;
6+
7+
public class TestFail {
8+
@Test
9+
public void whenMessageAssigned_thenItIsNotNull() {
10+
String message = "hello there";
11+
message = null;
12+
assertNotNull(message);
13+
}
14+
15+
}

0 commit comments

Comments
 (0)