Skip to content
Ralph Soika edited this page Aug 20, 2014 · 6 revisions

Welcome to the imixs-adapters wiki!

The 'imixs-adapers' project contains different technologies to adapt services and software platforms into the imixs-workflow. The project is split into several modules. Each module provides different connectors and technologies. The common-adapters provide some general technologies to be used for development.

Testing

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.

MartyInitialContextFactory

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.

Clone this wiki locally