junit
junit4 is the "old" release https://github.com/junit-team/junit4/wiki/Download-and-Install Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
cc6cd29661
commit
fadee31f21
4 changed files with 44 additions and 3 deletions
18
src/hbb/HelloWorldTest.java
Normal file
18
src/hbb/HelloWorldTest.java
Normal file
|
@ -0,0 +1,18 @@
|
|||
package hbb;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
public class HelloWorldTest {
|
||||
|
||||
@Test
|
||||
public void testNothing() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testWillAlwaysFail() {
|
||||
fail("An error message");
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue