Establish measures for interfacing within events between scenario and test case
Describe the feature
When a scenario is used in a test case, sometimes the test case needs to trigger an action inside the scenario (e.g. when a condition/test step in the test case is fulfilled). Example: trigger a cut-in action in the scenario, when the driver in the loop performs the test step "activate the headlights". On the other hand it's also possible that based on a condition in the scenario, an action in the test case needs to be triggered (e.g. trigger a failure in the SUT when the distance between Ego and target is smaller than a certain value).
Describe the solution you would like
- Possibility to define a condition, which evaluates to true depending on (not further defined) external input.
- Possibility to check scenario conditions from a test case (e.g. trigger external/test-case action based on scenario condition).
Describe alternatives you have considered
Maybe the UserDefinedCondition/UserDefinedAction already provides this possibility, but I couldn't figure out yet, how to use it. Also since this is leads to a non-standardized solution, a more specific solution could make sense.
Additional information
Also the possibility to set runtime parameters to trigger actions can be evaluated.