KIE Workbench Test Scenarios as a part of Maven build

246 views Asked by At

In my current project we need to run Test Scenarios created in Workbench as a part of a Maven build. The final goal is to have these functional tests included to the continuous integration process.

We spent a couple of days trying to figure it out. We opened a project that is created by Workbench in the .niogitfolder and are trying to run a maven goal.

But seems that maven goals like mvn clean install or mvn clean verify or mvn clean test don't run the Test Scenarios having a .scenario type at all.

Do you have any ideas on that?

2

There are 2 answers

0
jomarko On

there is currently work in progress on new version of scenarios in the kie-workbench. See the list of tasks. I would recommend you to bring this requirement there.

0
Abhijit Humbe On

Test scenarios are specific to kie-workbench. maven commands will not execute them during build. If you want tests to be executed during maven build then you have to write junit tests to check the execution of rules and processes.