= JUnit = A programmer-oriented testing framework for Java. http://junit.org/ == Annotations == * @Before , public void setUp(){} * @Test , public void textAbc(){} * @After , public void tearDown(){} == Imports == {{{#!highlight java import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.Ignore; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; }}} == Inclusion classes == http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html {{{ By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns: "**/Test*.java" - includes all of its subdirectories and all java filenames that start with "Test". "**/*Test.java" - includes all of its subdirectories and all java filenames that end with "Test". "**/*TestCase.java" - includes all of its subdirectories and all java filenames that end with "TestCase". }}} == Import methods == {{{#!highlight java import static org.junit.Assert.*; // ... assertEquals(...); }}} == Maven dependency == {{{ junit junit 4.11 }}}