Skip to content
Open
Show file tree
Hide file tree
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
13 changes: 9 additions & 4 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[profile.dev]
[profile.default]
slow-timeout = { period = "15s" }
fail-fast = true
# ignore integration tests since they require a running pgdog instance
default-filter = "not package(integration_tests_rust)"
test-threads = 1
default-filter = "not package(rust)"

[profile.default]
slow-timeout = "15s"
[profile.dev]
inherits = "default"

[profile.integration]
default-filter = "package(integration_tests_rust)"
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Contributions are welcome. If you see a bug, feel free to submit a PR with a fix
4. Run the setup script `bash integration/setup.sh`. It configures required PostgreSQL
settings and creates the test databases. If any settings were changed, the script
will exit with a notice — restart PostgreSQL and re-run the script before continuing.
5. Run the tests `cargo nextest run --profile dev`. If a test fails, try running it directly.
6. Run the integration tests `bash integration/run.sh` or exact integration test with `bash integration/go/run.sh`.
5. Run the unit tests with `cargo nextest run`. If some test fails, try running it directly.
6. Run the integration tests `bash integration/run.sh` or exact integration test e.g. `bash integration/go/run.sh`.

## Coding

Expand Down
Loading
Loading