JUnit 4 Synchronizer IntelliJ plugin
I started a searching for a free tool (which hopefully) will generated some JUnit test code for a given source code. In process of this search, as a first start point I started evaluating the plug-ins which are available for IntelliJ; JUnit 4 Synchronizer is my first stop in the evaluation process.
Highlights (based on release 0.1.1)
- Generates Skeleton JUnit Code.
- Generates JUnit 4 test classes/methods for source methods annotated with the @Testable annotation.
Usage
- From IntelliJ IDE, Tools –> RunSynchronize JUnit Tests, this creates a @Testable annotation
- All the desired source methods needs to be Annotate with @Testable annotation.
- Run Synchronize JUnit Tests to create test methods.
- Repeat steps 2 and 3 as often as desired to create new unit tests
Favorable
- Auto generates the skeleton code for JUnit test class.
- Integrates with IntelliJ
Unfavorable
- Source code needs to have test Annotations in the source code. In other words, Source code has dependency on test code (as @Testable annotation is available in ‘test’ folder).
- Only the Skeleton code is generate
For more information about the plugin, go here
Written by Ravi Nallakukkala on April 16th, 2007 with
no comments.
Read more articles on Tools.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article