File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
dev-packages/node-integration-tests Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,20 @@ To run tests with Vitest's watch mode:
47
47
To filter tests by their title:
48
48
49
49
` yarn test -t "set different properties of a scope" `
50
+
51
+ ## Debugging Tests
52
+
53
+ To enable verbose logging during test execution, set the ` DEBUG ` environment variable:
54
+
55
+ ` DEBUG=1 yarn test `
56
+
57
+ When ` DEBUG ` is enabled, the test runner will output:
58
+
59
+ - Test scenario startup information (path, flags, DSN)
60
+ - Docker Compose output when using ` withDockerCompose `
61
+ - Child process stdout and stderr output
62
+ - HTTP requests made during tests
63
+ - Process errors and exceptions
64
+ - Line-by-line output from test scenarios
65
+
66
+ This is particularly useful when debugging failing tests or understanding the test execution flow.
You can’t perform that action at this time.
0 commit comments