JUnit

Unit testing framework for Java.

JUnit 4

Annotations

You can use annotations. Now there is no need to extend TestCase, instead you can annotate methods using the @Test annotation.

import org.junit.Test;

public class UrlLinkFilterTest {
    @Test
    public void testFilter() {
        // stub
    }
}
      

JUnit FAQ

The JUnit FAQ covers most questions you will have when using JUnit.

Published: Wednesday, 11 August 2004
More Articles (showing 2 below)
2006-12-27
2004-08-11