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
Update
a practical example :
I registered my Action in the Tools Menue, how can i test the "click" on the menue entry ?
Look into http://jemmy.netbeans.org/ and http://blogs.oracle.com/geertjan/entry/gui_testing_on_the_netbeans
Or sth. from here http://www.junit.org/taxonomy/term/6
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.