Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions dev-packages/node-integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,20 @@ To run tests with Vitest's watch mode:
To filter tests by their title:

`yarn test -t "set different properties of a scope"`

## Debugging Tests

To enable verbose logging during test execution, set the `DEBUG` environment variable:

`DEBUG=1 yarn test`

When `DEBUG` is enabled, the test runner will output:

- Test scenario startup information (path, flags, DSN)
- Docker Compose output when using `withDockerCompose`
- Child process stdout and stderr output
- HTTP requests made during tests
- Process errors and exceptions
- Line-by-line output from test scenarios

This is particularly useful when debugging failing tests or understanding the test execution flow.
Loading