Publisher review:JUnit 4 Synchronizer creates JUnit 4 test classes/methods for source methods annotated with the @Testable annotation. Creates JUnit 4 test classes/methods for source methods annotated with the @Testable annotation. The test classes are created in a 'test' package, inside which the application package structure is duplicated. The 'test' package will be created if it does not already exist.
The @Testable annotation is created automatically in the 'test' package the first time the synchronizer is run. @Testable currently has a single attribute whereby you can override the name of the test method to be created. For example, @Testable("testIntegerAddition") would create a test method named 'testIntegerAddition'. If no name attribute is specified a default name will be created that consists of the name of the annotated method prefixed with 'test'. Test classes will only be created for those source classes with at least one method annotated with @Testable. This plugin is available from the 'Tools' menu or from the project view popup menu as 'Synchronize JUnit Tests'.
Instructions:
#1 - RunSynchronize JUnit Tests once to create the @Testable annotation.
#2 - Annotate desired source methods with @Testable annotation.
#3 - Run Synchronize JUnit Tests to create test methods.
#4 - Repeat steps 2 and 3 as often as desired to create new unit tests.
Note 1: If you have a multi-module project simply copy the @Testable annotation from the first module (as created during step 1 above) into 'test' packages in the additional modules and proceed with steps 2 thru 4 to create the unit tests for these modules.
Note 2: An enhancement request has been submitted to JUnit.org (via SourceForge.net) to include the @Testable annotation in the JUnit 4 framework.
JUnit 4 Synchronizer 0.1.1 is a Other scripts script for Development Tools scripts design by Russ Jackson.
It runs on following operating system: Windows.
JUnit 4 Synchronizer creates JUnit 4 test classes/methods for source methods annotated with the @Testable annotation.
Operating system:Windows