简体   繁体   中英

How to test Netbeans 6.7 Plugin?

I created a simple netbeans plugin (see this tutorial ) and now i wanna test eg 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 eg 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 ?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM