Effacer les filtres
Effacer les filtres

Code Coverage in SIL Environments

3 vues (au cours des 30 derniers jours)
Dhruv Sehgal
Dhruv Sehgal le 15 Jan 2024
Réponse apportée : Asim le 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?

Réponse acceptée

Asim
Asim le 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

Plus de réponses (0)

Catégories

En savoir plus sur Embedded Coder dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by