refactor(test): restructure tests/ by deployment target - #316
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #316 +/- ##
=======================================
Coverage 65.11% 65.11%
=======================================
Files 121 121
Lines 32346 32346
=======================================
Hits 21059 21059
Misses 11287 11287 🚀 New features to boost your workflow:
|
Reorganize from tests/e2e/{native_host,k8s}/ to
tests/{native_host,k8s}/e2e/ so each deployment target is a top-level
directory that can host multiple test categories (e2e, stress, etc.)
sharing common fixtures.
New layout:
tests/native_host/e2e/ (was tests/e2e/native_host/)
tests/k8s/e2e/ (was tests/e2e/k8s/)
Updates CI workflows, docs, pytest.ini, and all path references.
Adds `stress` marker to pytest.ini for upcoming stress harness.
Native-host CI now runs with `-m "not stress"` so stress tests are
opt-in.
shiv-tyagi
force-pushed
the
refactor/restructure-e2e-tests
branch
from
June 20, 2026 08:48
7a52903 to
7d3ef0f
Compare
sgopinath1
added a commit
to sgopinath1/spur
that referenced
this pull request
Jun 20, 2026
Align printed harness location with PR ROCm#316 layout (native_host/e2e).
yansun1996
pushed a commit
to yansun1996/spur
that referenced
this pull request
Jun 24, 2026
Reorganize from tests/e2e/{native_host,k8s}/ to
tests/{native_host,k8s}/e2e/ so each deployment target is a top-level
directory that can host multiple test categories (e2e, stress, etc.)
sharing common fixtures.
New layout:
tests/native_host/e2e/ (was tests/e2e/native_host/)
tests/k8s/e2e/ (was tests/e2e/k8s/)
Updates CI workflows, docs, pytest.ini, and all path references.
Adds `stress` marker to pytest.ini for upcoming stress harness.
Native-host CI now runs with `-m "not stress"` so stress tests are
opt-in.
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
Reorganizes the test directory layout from
tests/e2e/{native_host,k8s}/totests/{native_host,k8s}/e2e/so each deployment target is a top-level directory that can host multiple test categories sharing common fixtures.New layout:
Changes
tests/e2e/native_host/→tests/native_host/e2e/tests/e2e/k8s/→tests/k8s/e2e/pytest.ini,conftest.py,requirements.txt,README.md) up totests/.github/workflows/e2e.ymlandci.ymlwith new pathsdocs/developer/building.rstwith new pathspythonpathinpytest.inito ensure module imports continue workingTest plan
pytest tests/native_host/e2e/ --collect-onlycollects 81 tests (module imports resolve)pytest tests/k8s/e2e/ --collect-onlycollects 13 teststests/e2ereferences remain (repo-wide grep)