Setting up scenario testing in VSCode
Now that we’re a little bit more familiar with the VSCode environment, let’s use it to set up the KIE Scenario Simulation and testing tools. Since VSCode is an advanced text editor focused on development, the test tools are designed to be run automatically as part of the build process.
What is a build tool?
A build tool is needed to transform text source files into a running project. The steps the build tool can take include downloading supporting libraries, compiling the text into runnable code, packaging the project into a deployable file, and running any specified tests. Since KIE and Kogito is a Java-based project, Maven is the standard build tool.
As a build tool, Maven can also automate many of the setup steps for us. The steps we suggest in this section are based on the following article from the KIE team: https://blog.kie.org/2021/04/how-to-use-test-scenario-editor-to-test-your-dmn-asset-in-vscode.html. Because this...