Filter löschen
Filter löschen

Code Coverage in SIL Environments

3 Ansichten (letzte 30 Tage)
Dhruv Sehgal
Dhruv Sehgal am 15 Jan. 2024
Beantwortet: Asim am 15 Jan. 2024
I am working on a control system for an HVAC unit, and the test suite I've designed covers all the functional requirements, such as temperature control, fan speed adjustments, and system modes (heating, cooling, etc.). After running these tests in a SIL setup, the coverage analysis reveals that certain error-handling code paths were not exercised. What are the best procedure for automatically generating additional test cases that can fill these gaps, ensuring that every aspect of the code is tested and there is complete structural coverage?

Akzeptierte Antwort

Asim
Asim am 15 Jan. 2024
Hello Dhruv,
I understand you are facing challenges with achieving complete structural coverage in your SIL testing process.
For guidance on executing Requirement-Based SIL testing and supplementing your test suite with cases to cover any gaps, please refer this post which outlines the necessary workflow in detail.
I hope this helps!
Thanks & Regards,
Asim Asrar

Weitere Antworten (0)

Kategorien

Mehr zu Embedded Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by