Skip to content

test: environment diagnostic, pre-flight checks & execution reporting #731

Open
1 of 2 issues completed

Description

@planetf1

Context

Part of the Testing Infrastructure & Strategy Overhaul epic (item 3a).

Objective

The developer must always understand what they selected to run, what their environment can run, and what actually ran. This means clear reporting at every stage: before, during, and after test execution.

Work

  • Pre-run report: detect capabilities (available backends, GPU, API keys, installed models), report markers selected, list tests that will be skipped and why
  • Pre-flight model verification at collection time (Add model checks for pytest #574): fail fast with actionable messages if required models are missing, rather than cryptic test failures
  • Post-run summary: what ran, what was skipped (and why), what failed — clear in both console output and CI logs
  • Clean up resource warnings noise in test output (test: Resource warnings - noise in log and may mask library issues #349)
  • Consider a standalone pytest --check-env mode for quick environment assessment without running tests
  • Ensure reporting is useful in both local dev and CI contexts
  • Update contributor documentation on environment setup and diagnostics

Notes

Sub-issues

Sub-issues

1 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    area/backends
    on May 20, 2026
  2. added
    p2
    on Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendsp2testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions