Skip to content

Commit 9a2e51a

Browse files
Merge pull request #585 from element-hq/gaelg/developers-doc
Document how to re-run pytest from scratch.
2 parents b4f0521 + e7662bf commit 9a2e51a

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

DEVELOPERS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2024 New Vector Ltd
2+
Copyright 2024-2025 New Vector Ltd
33
44
SPDX-License-Identifier: AGPL-3.0-only
55
-->
@@ -153,6 +153,9 @@ Verifies that the deployed workloads behave as expected and integrates well toge
153153

154154
From the project root : `pytest test`
155155

156+
Pytest caches the namespace name and created user tokens between run. To start a run from scratch,
157+
run `pytest test --cache-clear`.
158+
156159
#### Special env variables
157160
- `PYTEST_KEEP_CLUSTER=1` : Do not destroy the cluster at the end of the test run.
158161
You must delete it using `kind delete cluster --name ess-helm` manually before running any other test run.

newsfragments/579.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Document how to re-run integration tests from scratch.
File renamed without changes.

0 commit comments

Comments
 (0)