jomarko opened a new issue, #1807:
URL: https://github.com/apache/incubator-kie-issues/issues/1807

   This issue belongs to the epic 
https://github.com/apache/incubator-kie-issues/issues/453. Without this issue 
the New SceSim editor can not be assumed as matured and Classic SceSim editor 
needs to be kept.
   
   ### Steps to reproduce
   1. Please open `dmn-quarkus-example` project, use main branch 
(https://github.com/apache/incubator-kie-kogito-examples/tree/main/kogito-quarkus-examples/dmn-quarkus-example)
   2. run `mvn clean verify` - it will pass 🟢 
   3. open the single `.scesim` file using `New SceSim` editor
   4. Edit some **given** data cell and save the file
   5. run `mvn clean verify` - it will fail, what is kind of expected, however 
with an error, that indicates that some exception was thrown before test 
evaluation. in other words, user is not informed what was expected and what was 
actual result.. User receives just some exception log 🔴 [1]
   
   [1]
   ```
   [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.816 s <<< FAILURE! -- in testscenario.KogitoScenarioJunitActivatorTest
   [ERROR] TrafficViolationTest.#1: Above speed limit: more than 30 km/h -- 
Time elapsed: 0.524 s <<< ERROR!
   org.drools.scenariosimulation.backend.runner.IndexedScenarioException: #1 
Above speed limit: more than 30 km/h: Error in GIVEN data (TrafficViolationTest)
           at 
org.drools.scenariosimulation.backend.runner.AbstractScenarioRunner.defineFailureException(AbstractScenarioRunner.java:144)
           at 
org.drools.scenariosimulation.backend.runner.AbstractScenarioRunner.singleRunScenario(AbstractScenarioRunner.java:127)
           at 
org.drools.scenariosimulation.backend.runner.AbstractScenarioRunner.run(AbstractScenarioRunner.java:103)
           at 
org.kogito.scenariosimulation.runner.KogitoJunitActivator.runChild(KogitoJunitActivator.java:35)
           at 
org.kogito.scenariosimulation.runner.KogitoJunitActivator.runChild(KogitoJunitActivator.java:26)
   Caused by: org.drools.scenariosimulation.backend.runner.ScenarioException: 
Error in GIVEN data
           at 
org.drools.scenariosimulation.backend.runner.AbstractRunnerHelper.extractGivenValues(AbstractRunnerHelper.java:164)
           at 
org.drools.scenariosimulation.backend.runner.AbstractRunnerHelper.run(AbstractRunnerHelper.java:84)
           at 
org.drools.scenariosimulation.backend.runner.AbstractScenarioRunner.internalRunScenario(AbstractScenarioRunner.java:150)
           at 
org.drools.scenariosimulation.backend.runner.AbstractScenarioRunner.singleRunScenario(AbstractScenarioRunner.java:124)
           ... 3 more
   ```
   
   
   [2]
   ```
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to