Skip to content

camunda/camunda-engine-dmn-unittest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camunda engine unit test template

This git repository contains a simple example of how to write a unit test for the Camunda DMN engine. You can use it for reporting bugs or asking questions in the forums.

The project contains the following files:

src/
└── test
    ├── java
    │   └── org
    │       └── camunda
    │           └── bpm
    │               └── dmn
    │                   └── unittest
    │                       └── SimpleTestCase.java     (1)
    └── resources
        └── Example.dmn                                 (2)

Explanation:

  • (1) A Java class containing a JUnit Test. It uses the DmnEngineRule for bootstrapping the DMN engine, as well as AssertJ for testing the decision result.
  • (3) An example DMN decision table.

Running the test with maven

In order to run the testsuite with maven you can say:

mvn clean test

Importing the project into eclipse.

If you use eclipse you can simply import the project by selecting:

  • File / Import |-> Existing Maven Projects

Contributing

Have a look at our contribution guide for how to contribute to this repository.

License

The source files in this repository are made available under the Apache License Version 2.0.

About

Unit test template project for Camunda DMN engine

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages