My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

JUnit extension for system test. JUnitum is developed from ideas of TestNG / Simplium. It provides system test features to simplify and speed up system test cases. The source is maintained in Naver Developer Center(http://dev.naver.com/projects/junitum/src) and this site is for the English description. The highlighting benefit of JUnitum is that you can use these features without any conflict with your exisiting test development environment.

Why not use TestNG

  • TestNG is excellent test driver for system testing. It aleady supports test dependency and parallel execution. However, I found out there is some lack of internationalization. When I write test method name in my own language(korean). Some errors are occurs and I can not procceed test anymore. Well.. I could fix TestNG instead of builing new one. However, this problem is more serious because not only core but also Eclipse plugin should be fixed. That's why I decided to make one by JUnit extension.

Download

How to Install

  • How to use with Maven
    • Add Maven Repository
    •  <repository>
          <id>sonatype-nexus-snapshots</id>
          <name>Sonatype Nexus Snapshots</name>
          <url>http://oss.sonatype.org/content/repositories/snapshots</url>
         </repository>
    • Add Dependency
    •     <dependency>
              <groupId>org.junitum</groupId>
              <artifactId>junitum</artifactId>
              <version>0.92-SNAPSHOT</version>
          </dependency>
      
    • Remove previous JUnit Dependency (JUnitum depends on JUnit 4.8.2)
  • How to install with Ant

Features

  1. TestMethodDependency
  2. @RunWith(JUnitumDependencyRunner.class) 
    public TestClass {
       @Test
       public void test1() {
       }
       
       @Test
       @DependOn("test1")
       public void test2() {
       }
    }
  3. OneShotExecutionForMultipleConfiguration
  4. @RunWith(JUnitumRunner.class) 
    @Config(MyConfigrationProvider.class)
    public TestClass {
    
       @BeforeConfig
       public static void configSetup(Object obj) {
       }
    
       @AfterConfig
       public static void configTearDown() {
       }
      
       @Test
       public void test1() {
       }
    }
  5. MultipleAssertionSupport
  6.    @Test
       public void test1() {
          Verify.verifyTrue(false); 
          Verify.verifyTrue(false);
       }
  7. TestCaseManagementSystemIntegration
  8. @RunWith(JUnitumRunner.class) 
    @ReportHandler(TestLinkReportHandler.class)
    public TestClass {
      
       @Test
       public void test1() {
       }
    }
Powered by Google Project Hosting