Generic Test Case Handler Modeled in DMN - Gnorion/BizVR GitHub Wiki

The Problem

You have many decisions that need to be tested and each decision needs many test cases to be run and checked

Possible Solutions

  • Run each test case manually and then check the results
  • Write some java code to execute the decisions and then check the results by hand
  • Create a DMN model to run the test cases and check the results

We'll assume you don't want the first two options

A DMN Solution

Its possible to create a DMN model that can handle the testing of many decisions:

image

In order to use this framework you just need to add a few things to the model that is to be tested:

image

Example of a (self) Testable Decision Model(https://github.com/Gnorion/BizVR/wiki/A-Testing-Example-(T03))