To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.
I want to test a plug-in outside the ProM 6.0 interface from a main method in a Java test class. (No JUnit, it's ad hoc testing.)
For this I need to execute a number of other plug-ins amongst which the log import plug-in.
The following compiles but does not work since the pluginContext is not initialized correctly, as well as many other things in the framework such as extension management.
CLIContext context = new CLIContext();
CLIPluginContext pluginContext = new CLIPluginContext(context, "test");
OpenLogFilePlugin olfp = new OpenLogFilePlugin();
XLog log = (XLog) olfp.importFile(pluginContext, inputLogFile);
Being able to test plug-ins this way would save much time.
Is there a proper way to test plug-ins without starting ProM 6.0?