feat: add CSV test reporting and structured marker groups#6894
Draft
dmitry-tokarev-nv wants to merge 1 commit intomainfrom
Draft
feat: add CSV test reporting and structured marker groups#6894dmitry-tokarev-nv wants to merge 1 commit intomainfrom
dmitry-tokarev-nv wants to merge 1 commit intomainfrom
Conversation
Refactor conftest.py marker registration into logical groups (CI workflow, GPU scale, test scope, framework, feature) and add two new pytest CLI options for CSV report generation: - --collect-report PATH: writes test_name, markers, model CSV (useful with --collect-only for test inventory) - --run-report PATH: writes test_name, markers, model, result, duration CSV after execution Also adds Framework as a required category in report_pytest_markers.py and updates tests/README.md marker documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Dmitry Tokarev <dtokarev@nvidia.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/conftest.pymarker registration from a flat list into logical groups (CI workflow, GPU scale, test scope, framework, feature) for better maintainability--collect-report PATHpytest option: writes a CSV with test_name, markers, model (useful with--collect-onlyfor test inventory)--run-report PATHpytest option: writes a CSV with test_name, markers, model, result, duration after executionFramework(vllm,trtllm,sglang,no_framework) as a required category inreport_pytest_markers.pytests/README.mdmarker documentationUsage
Test plan
--collect-reportproduces valid CSV with correct columns--run-reportcaptures pass/fail/skip/xfail outcomes and durationsreport_pytest_markers.pyvalidates Framework category🤖 Generated with Claude Code