mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 21:27:19 +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
|
||
|
```
|