When executing my Silk4J category tests via command line I receive the error InitializationError()
The InitializationError exception can occur if the command line arguments specify a classpath which references a different version of the JUnit.jar file than that used by the Silk4J project.
To determine which version of JUnit files are used by your Silk4J project please follow the below steps:-
1) Within Eclipse expand the Silk4J project you wish to execute from command line
2) Locate the Junit4 folder
3) Perform a right click on the JUnit4 folder and select properties
4) Within the ‘Properties for Junit4’ window locate the field ‘current location’ this will then specify the file path and name of the JUnit file with associated version number.
5) When executing the tests from command line use the above details as a reference to ensure the correct JUnit.jar version is specified when listing the commandline arguments.