This project uses pytest to validate ATLAS data.
conftest.py
- Test fixtures are defined in
conftest.py
in the project root, for access to tools and schemas. - Loads ATLAS data as constructed from
data/matrix.yaml
viatools/create_matrix.py
.
- Test fixtures are defined in
tests/test_*.py
- Current tests include schema validation, Markdown link syntax, and warnings for spelling.
- To add words to the spellcheck, edit
custom_words.txt
in this directory.
tests/.yamllint
holds custom YAML lint configuration rules.
Install dependencies using:
pip install -r tools/requirements.txt
pip install -r tests/requirements.txt
From the root of this project, run pytest
.
Additional YAML linting can be performed with yamllint -c tests/.yamllint .