Code Coverage in SIL Environments

조회 수: 15 (최근 30일)
Dhruv Sehgal
Dhruv Sehgal 2024년 1월 15일
답변: Asim 2024년 1월 15일
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?

채택된 답변

Asim
Asim 2024년 1월 15일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by