views:

244

answers:

2

I created a simple netbeans plugin (see this tutorial) and now i wanna test e.g. the Actionlistener.

But how can this be done ?

to be more specific

  • what test frameworks suit netbeans plugin development ?
  • how to create a test setup which emulates enough of netbeans e.g. to test the simple actionlistener ?

Update

a practical example :

I registered my Action in the Tools Menue, how can i test the "click" on the menue entry ?

+1  A: 

Jemmy had moved to https://jemmy.dev.java.net/ also it is not depend on NetBeans modules, so can be used for AWT/Swing/SWT/JavaFX testing.

Another library is Window Licker http://code.google.com/p/windowlicker/ from writers of http://www.growing-object-oriented-software.com/ which now supports Swing/Ajax.

Andriy Plokhotnyuk