Skip to content

Commit

Permalink
chore: improve test guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Jan 22, 2024
1 parent bc63746 commit 0ea5eed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ To run tests:
- :test_tube: Run `yarn check-types` to check TypeScript types.
- :test_tube: Run `yarn lint` to run the linter (ESLint).

Note that to run `test:e2e`, first ensure that the environment is correctly setup by running the `run_e2e_env.sh` script.

```sh
GETH_DOCKER_IMAGE=ethereum/client-go:v1.11.6 NETHERMIND_DOCKER_IMAGE=nethermind/nethermind:1.18.0 ./scripts/run_e2e_env.sh start
```

Similarly, run `yarn download-spec-tests` in both folders `packages/beacon-node` and `packages/validator` before running `yarn test:spec`.

Contributing to tests:

- Test must not depend on external live resources, such that running tests for a commit must be deterministic:
Expand Down

0 comments on commit 0ea5eed

Please sign in to comment.