-
Notifications
You must be signed in to change notification settings - Fork 2
Home
The 'imixs-adapers' project contains different technolgies to adapt services and software platforms into the imixs-workflow. The project is split into severals modules. Each modul provides differnt connectors and technolgies. The common-adapers provide some general technologies to be used for defelopment.
The 'imixs-adapters' project provides several default settings for an easy setup of junit tests. The parent pom.xml contains the JUnit and Mockito Dependencies.
The module 'imixs-adapters-testing' provides additional basic classes to be used for junit tests.
To test a Imixs Workflow Plugin for the imixs-marty project in most cases it is necessary to mock some of the marty service EJBs. To simplify the setup the class 'MartyInitialContextFactory' provides a mock for the EJB inital context used by most plugins. To activate this class add the following VM argument:
-Djava.naming.factory.initial=org.imixs.workflow.marty.test.MartyInitialContextFactory
Using Eclipse IDE this can be done by defining a Run-Configuration for each test case.