2024-12-13 10:50:56 +08:00
|
|
|
# nomos-e2e-tests
|
|
|
|
|
|
|
|
|
|
Nomos e2e framework used to test various implementations of the Nomos node.
|
|
|
|
|
|
|
|
|
|
## Setup and contribute
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
git clone git@github.com:logos-co/nomos-e2e-tests.git
|
|
|
|
|
cd nomos-e2e-tests
|
|
|
|
|
python -m venv .venv
|
|
|
|
|
source .venv/bin/activate
|
|
|
|
|
pip install -r requirements.txt
|
2025-03-10 20:51:02 +11:00
|
|
|
mkdir -p kzgrs
|
|
|
|
|
wget https://raw.githubusercontent.com/logos-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params
|
2024-12-13 10:50:56 +08:00
|
|
|
pre-commit install
|
2025-03-10 03:33:54 +00:00
|
|
|
(optional) Overwrite default vars from src/env_vars.py via env vars or by adding a .env file
|
2024-12-13 10:50:56 +08:00
|
|
|
pytest
|
|
|
|
|
```
|
2025-03-12 05:11:20 +00:00
|
|
|
Set optional environment variable to search logs for errors after each tests:
|
|
|
|
|
```shell
|
|
|
|
|
export CHECK_LOG_ERRORS=True
|
|
|
|
|
```
|
|
|
|
|
|
2024-12-13 10:50:56 +08:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Licensed and distributed under either of
|
|
|
|
|
|
2025-01-14 17:29:54 +08:00
|
|
|
- MIT license: [LICENSE-MIT](http://opensource.org/licenses/MIT)
|
2024-12-13 10:50:56 +08:00
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
2025-01-14 17:29:54 +08:00
|
|
|
- Apache License, Version 2.0, [LICENSE-APACHE-v2](http://www.apache.org/licenses/LICENSE-2.0)
|
2024-12-13 10:50:56 +08:00
|
|
|
|
|
|
|
|
at your option. These files may not be copied, modified, or distributed except according to those terms.
|