Randoop NetBeans Plugin - plugin detailRandoop is an automatic unit test generator for Java. It automatically creates unit tests for your classes, in JUnit format. 1) Randoop generates unit tests using feedback-directed random test generation. In a nutshell, this technique randomly, but smartly, generates sequences of methods and constructor invocations for the classes under test, and uses the sequences to create tests. Randoop executes the sequences it creates, using the results of the execution to create assertions that capture the behavior or your program and that catch bugs. 2) Randoop has created tests that find previously unkwon errors even in widely-used libraries including Sun and IBM's JDKs. Randoop's combination of randomized test generation and test execution results in a highly effective test generation technique.
[ You have to be logged in to be able to comment. ] User CommentsProblem : java must be in the system's path
There is a little problem : the plugin launches the Java process, but its location needs to be in the system's classpath.
Many users don't add their jre/bin or java(.exe) folder/file to the path. Other plugins had the same problem (CodenameOne, JRebel, ...). They solved it by finding the JDK that runs NetBeans, and launching its JRE. I'll open a bug entry : http://netbeans.org/bugzilla/show_bug.cgi?id=217181
Posted by ent38 on Aug 21, 2012
Re: OK :-)
Ho my god, it must be the dog days, the button was in front of my eyes :)
Thanks a lot for the tutorial.
Posted by ent38 on Aug 21, 2012
Re: How-to
Sorry for the lack of documentation. I just wrote this quick tutorial, hopefully is good enough to get you started.
https://sourceforge.net/p/nb-randoop/wiki/Tutorial/ Thanks for using the plug-in!
Posted by javydreamercsw on Aug 21, 2012
How-to
Hi,
how do you launch Randoop's JUnit tests generation ? After having installed Randoop NetBeans Plugin, I still only have classical JUnit and TestNG assistants, but I don't know how to launch your plugin. Thx.
Posted by ent38 on Aug 21, 2012
|