Skip to content

Write Tests That Verify Each HostError Maps to the Correct Severity Level #227

@codeZe-us

Description

@codeZe-us

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions