Test NG plugin for NetBeans 5.0

I finished Test NG project extension for NetBeans 5.0 yesterday in train from Ostrava to Prague. I would like to commit it into cvs because I cannot access to CVS server on sourceforge.net. Probably ssh server is down :(. I'll try describe how to use this plugin:

Create New Test NG case from template:

Generated code of test is here :

package sd ;

import org.testng.Assert;
import org.testng.annotations.Configuration;
import org.testng.annotations.ExpectedExceptions;
import org.testng.annotations.Test;

public class NewTest {
  @Configuration(afterTestClass = true)
  public static void tearDownClass() {
  }

  @Configuration(afterTestMethod = true)
  public void afterTestMethod() {
  }


  @Test(groups = { "My group" })
  public void testMethod1() {
      Assert.fail("failure");
  }

The Test NG Project Extension is automatically added to project extensions. There are two action for the extension - Run Tests and Show Results. Look at the snapshot:

Results are shown in web browser:

How to install and download the plugin is here.

Comments:

Post a Comment:
Comments are closed for this entry.
About

xzajo

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today