Running the unit test with Test Scenarios enable you to validate the correctness of business decisions and business decision data during development. Test Scenarios can be created and modified with BAMOE Developer Tools for VS Code and can be understood as a collection of unit test cases. For authoring test scenarios, see Authoring unit tests with Test Scenarios.
There are two main ways to execute Test Scenarios:
a. Using Maven in a Terminal
Open a Terminal in the root directory of your Business Service and execute:
mvn clean test
Check the results to ensure the scenarios pass. The test results will be visible in your Terminal after the completion of the mvn clean test
command.

b. Using the 'Run Java' button on VS Code when you have the 'Language Support for Java™ by Red Hat' extension installed:
Open the KogitoScenarioJunitActivator.java
file and click the "Run Java" button:
Test results will appear in the native VS Code Test Results
window.

During the test phase of Maven , all Test Scenarios defined in .scesim
files are executed as a single unit test, and the results are saved in the target/surefire-reports
folder.
All other regular unit tests and integration tests you might have are executed and their results are stored in the same folder.