-
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_nameTo 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_itemor 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.exeto the root folder - Run
build.bat - Open
um_inst.issin Inno Setup and click Compile - The resulting installer should be ready and contain everything necessary to run Unique Matcher on Windows