/dmn-testing-plugin

Camunda Modeler plugin that allows testing of a DMN decision.

Primary LanguageJavaScriptMIT LicenseMIT

dmn-testing-plugin

Build Status Compatible with Camunda Modeler version 4.2+

This plugin allows to test DRD diagrams. Currently the plugin supports the following core features:

  • Parsing input variables for a given DRD and decision and letting the user define the respective values.
  • Starting an embeded lightweight Camunda DMN decision engine as JAVA sub-process.
  • Evaluating the DRD with the given input values and displaying the results.

This plugin is in major version zero and should therefore not be considered stable. Please refer to issues to get an overview of missing features and limitations.

How to use

  1. Make sure to have JAVA installed (required to run the DMN decision engine)
  2. Download and copy this repository into the plugins directory of the Camunda Modeler
  3. Start the Camunda Modeler
  4. Start the Testing Modal by clicking the respective menu button when having a .dmn file open
  5. Edit the input parameters as required and start an evaluation by clicking on Test

Refer to the plugins documentation to get detailed information on how to create and integrate Camunda Modeler plugins.

Development Setup

Clone this repository and copy or link the dmn-testing-plugin directory to the plugins directory of the Camunda Modeler.

Install all dependencies

$ cd dmn-testing-plugin
$ npm install

Perform changes as required.

Build the plugin

$ npm run dev

Reload or restart the Modeler to make the changes take effect.

Resources

License

MIT