K8SPSMDB-1192: Introduce e2e-test pytest wrapper#1962
Closed
jvpasinatto wants to merge 20 commits intomainfrom
Closed
K8SPSMDB-1192: Introduce e2e-test pytest wrapper#1962jvpasinatto wants to merge 20 commits intomainfrom
jvpasinatto wants to merge 20 commits intomainfrom
Conversation
Contributor
|
I think we need to add to gitignore |
Contributor
|
we can maybe add the |
Collaborator
Commit: 45d7fd6 |
Contributor
Author
|
Closing as the pytest migration will be done in this PR #2058 |
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.
CHANGE DESCRIPTION
e2e-tests/reportsdirectoryHow to run using uv:
Install uv
curl -LsSf https://astral.sh/uv/install.sh | shCreate venv and install/sync dependencies
uv syncRun all tests
uv run pytest e2e-tests/test_pytest_wrapper.py -v -sRun specific test
uv run pytest e2e-tests/test_pytest_wrapper.py -v -s --test-regex '^one-pod$'Run a test suite
uv run pytest e2e-tests/test_pytest_wrapper.py -v -s --test-suite backupsRun and collect k8s resources
uv run pytest e2e-tests/test_pytest_wrapper.py -v -s --test-regex '^one-pod$' --collect-k8s-resources--collect-k8s-resourcesflag to automatically collect Kubernetes logs and resource state on test failure, storing diagnostic data in e2e-tests/reports