Severity levels (fatal, error, warning) affect how Prism renders and prioritizes errors. Without tests, any regression in severity mapping goes undetected.
- Write unit tests that assert the correct severity for a representative set of host error codes across all categories
- Include at least one test per severity level
Expectations: Tests cover all three severity levels and fail clearly if a severity mapping is changed incorrectly.
Severity levels (fatal, error, warning) affect how Prism renders and prioritizes errors. Without tests, any regression in severity mapping goes undetected.
Expectations: Tests cover all three severity levels and fail clearly if a severity mapping is changed incorrectly.