test_runner: Update the README.md to build neon with 'testing' (#9437)

Without having the '--features testing' in the cargo build the proxy
won't start causing tests to fail.
This commit is contained in:
Ivan Efremov
2024-10-17 17:20:42 +03:00
committed by GitHub
parent 8b47938140
commit a7c05686cc

View File

@@ -6,7 +6,7 @@ Prerequisites:
- Correctly configured Python, see [`/docs/sourcetree.md`](/docs/sourcetree.md#using-python)
- Neon and Postgres binaries
- See the root [README.md](/README.md) for build directions
If you want to test tests with test-only APIs, you would need to add `--features testing` to Rust code build commands.
To run tests you need to add `--features testing` to Rust code build commands.
For convenience, repository cargo config contains `build_testing` alias, that serves as a subcommand, adding the required feature flags.
Usage example: `cargo build_testing --release` is equivalent to `cargo build --features testing --release`
- Tests can be run from the git tree; or see the environment variables