Skip to content

Commit 3663c3a

Browse files
committed
Document wait_until() in AGENTS.md
Signed-off-by: Sergio Herrera <627709+seherv@users.noreply.github.com>
1 parent d5895ee commit 3663c3a

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

tests/integration/AGENTS.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ tests/integration/
4343

4444
## Fixtures
4545

46-
All fixtures are **module-scoped** — one sidecar per test file.
47-
48-
| Fixture | Type | Description |
49-
|---------|------|-------------|
50-
| `dapr_env` | `DaprTestEnvironment` | Manages sidecar lifecycle; call `start_sidecar()` to get a client |
51-
| `apps_dir` | `Path` | Path to `tests/integration/apps/` |
52-
| `components_dir` | `Path` | Path to `tests/integration/components/` |
46+
Sidecar and client fixtures are **module-scoped** — one sidecar per test file. Helper fixtures may use a different scope; see the table below.
47+
48+
| Fixture | Scope | Type | Description |
49+
|---------|-------|------|-------------|
50+
| `dapr_env` | module | `DaprTestEnvironment` | Manages sidecar lifecycle; call `start_sidecar()` to get a client |
51+
| `apps_dir` | module | `Path` | Path to `tests/integration/apps/` |
52+
| `components_dir` | module | `Path` | Path to `tests/integration/components/` |
53+
| `wait_until` | function | `Callable` | Polling helper `(predicate, timeout=10, interval=0.1)` for eventual-consistency assertions |
5354

5455
Each test file defines its own module-scoped `client` fixture that calls `dapr_env.start_sidecar(...)`.
5556

0 commit comments

Comments
 (0)