1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package oata; 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"); } }