Skip to content

Task: Standardize backend failure injection controls for tests #349

@RtlZeroMemory

Description

@RtlZeroMemory

Parent EPIC: #324

Problem:

Backend failure behavior is currently covered in a fragmented way and needs reusable controls.

Scope:

  • Define reusable backend-side failure controls for requestFrame, pollEvents, and lifecycle edge cases.
  • Make the controls deterministic and runner-friendly.
  • Avoid embedding one-off failure logic in scenario tests.

Done when:

  • Scenario and integration tests can inject backend failures through a supported API.
  • Backend failure tests no longer need bespoke mock logic for common failure classes.

Notes:

  • This task should produce work that is reviewable against expected behavior, not current implementation shape.
  • Keep outputs straight to the point and tied to repo code or repo process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:testingTesting strategy, harnesses, contracts, and test rewritesenhancementNew feature or requesttaskConcrete work item under an epic

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions