-
Notifications
You must be signed in to change notification settings - Fork 2
Development
Riley edited this page Mar 23, 2024
·
2 revisions
Run tox -e pytest
to run unit tests. It can take a long time depending on the amount of test data in tests/test_data
.
To run a single test, you can do for example:
pytest -v tests/test_matcher.py::test_get_base_name
To specify the testing data set to use, set DATA_SET
environment variable
to the desired name. For example, to run the example
data set:
DATA_SET=example pytest -v -n auto tests/test_matcher.py::test_find_item_contains_item
or use the helper script: python3 run_tests.py
which lets you pick the data set interactively.
- Go to
screen/
and runcargo build --release
- Copy
screen/target/release/screen.exe
to the root folder - Run
build.bat
- Open
um_inst.iss
in Inno Setup and click Compile - The resulting installer should be ready and contain everything necessary to run Unique Matcher on Windows