You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,14 @@ E2E tests validate full instrumentation workflows using Docker containers. They
68
68
69
69
#### Running E2E Tests
70
70
71
-
Run all e2e tests:
71
+
Run all tests (e2e + stack):
72
72
73
73
```bash
74
-
./run-all-e2e-tests.sh # Sequential (default)
75
-
./run-all-e2e-tests.sh 2 # 2 tests in parallel
76
-
./run-all-e2e-tests.sh 0 # All tests in parallel
74
+
./run-all-e2e-tests.sh # Run all tests sequentially
75
+
./run-all-e2e-tests.sh -c 2 # Run 2 tests concurrently
76
+
./run-all-e2e-tests.sh -c 0 # Run all tests in parallel
77
+
./run-all-e2e-tests.sh --instrumentation-only # Run only e2e tests
78
+
./run-all-e2e-tests.sh --stack-only # Run only stack tests
77
79
```
78
80
79
81
Run a single instrumentation's e2e test:
@@ -143,12 +145,28 @@ python src/test_requests.py
143
145
144
146
For more details, see `drift/instrumentation/README-e2e-tests.md`.
145
147
148
+
### Stack Tests
149
+
150
+
Stack tests validate multiple instrumentations working together in realistic application architectures (e.g., Django + PostgreSQL, FastAPI + Redis). They catch bugs at integration points that don't surface in isolated e2e testing.
151
+
152
+
```bash
153
+
# Run a specific stack test
154
+
cd drift/stack-tests/django-postgres
155
+
./run.sh
156
+
157
+
# Or run all tests (including stack tests) from the root
158
+
./run-all-e2e-tests.sh
159
+
```
160
+
161
+
For available tests and details, see `drift/stack-tests/README.md`.
162
+
146
163
## Documentation
147
164
148
165
| Document | Description |
149
166
|----------|-------------|
150
167
|`docs/context-propagation.md`| Context propagation behavior, edge cases, and patterns |
151
168
|`drift/instrumentation/README-e2e-tests.md`| E2E test architecture and debugging |
169
+
|`drift/stack-tests/README.md`| Stack tests for multi-instrumentation scenarios |
0 commit comments