mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
test: add support for seeded rng (#3270)
This commit is contained in:
11
README.md
11
README.md
@ -94,10 +94,21 @@ cargo test --workspace
|
||||
|
||||
# With Geth
|
||||
cargo test --workspace --features geth-tests
|
||||
|
||||
# With Ethereum Foundation tests
|
||||
#
|
||||
# Note: Requires cloning https://github.com/ethereum/tests
|
||||
#
|
||||
# cd testing/ef-tests && git clone https://github.com/ethereum/tests ethereum-tests
|
||||
cargo test --workspace --features ef-tests
|
||||
```
|
||||
|
||||
We recommend using [`cargo nextest`](https://nexte.st/) to speed up testing. With nextest installed, simply substitute `cargo test` with `cargo nextest run`.
|
||||
|
||||
> **Note**
|
||||
>
|
||||
> Some tests use random number generators to generate test data. If you want to use a deterministic seed, you can set the `SEED` environment variable.
|
||||
|
||||
## Getting Help
|
||||
|
||||
If you have any questions, first see if the answer to your question can be found in the [book][book].
|
||||
|
||||
Reference in New Issue
Block a user