openMSL / sl-1-0-sensor-model-repository-template

Template repository: Clone and build your ASAM OSI sensor model.
Mozilla Public License 2.0
8 stars 2 forks source link

Separate sensor model behavior tests from integration tests #75

Closed ClemensLinnhoff closed 5 months ago

ClemensLinnhoff commented 6 months ago

Is your feature request related to a problem? Please describe. Currently there are two test folders for unit tests and integration tests. However, test 004_tracefile_analysis is testing, if an object inside the field of view of the sensor is actually detected. This is more than just an integration test, since not only the correct usage of the interface is tested, but also the behavior of the model. This should be a separate test class.

Describe the solution you'd like Introduce a separate folder model_behavior in the test folder dedicated to verification tests for the sensor behavior. There should also be a separate workflow for these tests to make the difference clear in the CI pipeline. Of course the documentation needs to be adjusted accordingly.