mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
17 lines
449 B
Markdown
17 lines
449 B
Markdown
|
# Spec Tests
|
||
|
|
||
|
Spec testing vectors: https://github.com/ethereum/eth2.0-spec-tests
|
||
|
|
||
|
To run all `mainnet` spec tests:
|
||
|
|
||
|
```bash
|
||
|
bazel test //... --test_tag_filters=spectest
|
||
|
```
|
||
|
|
||
|
Minimal tests require `--define ssz=minimal` setting and are not triggered
|
||
|
automatically when `//...` is selected. One can run minimal tests manually, though:
|
||
|
|
||
|
```bash
|
||
|
bazel query 'tests(attr("tags", "minimal, spectest", //...))' | xargs bazel test --define ssz=minimal
|
||
|
```
|