This repository contains scripts for testing Salex.
To install:
- Make sure you have
karp-backend
installed. - Run
poetry shell
inside ofkarp-backend
. - Then run
poetry install
in this directory, to install all dependencies.
To run the tests, run karp-cli repl run_tests.py -o /path/to/output/directory
.
The directory structure is as follows:
tests/
: individual test scripts, run byrun_tests.py
.utils/
: various helper functions and classes for getting data from Salex, plus libraries for writing tests and generating formatted test outputtemplates/
: HTML templates for the test reportold
/: old test scripts that haven't yet been converted to work withrun_tests.py
Tests for the Salex export process are not yet included in this repository.