mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-07-18 07:30:43 -07:00
9c80dc6257
This allows the unit tests to be run on specific worlds only, it works by using an environment variable AP_TEST_WORLDS which is a comma separated list of world directories.
10 lines
304 B
INI
10 lines
304 B
INI
[pytest]
|
|
python_files = test_*.py Test*.py **/test*/**/__init__.py # TODO: remove Test* once all worlds have been ported
|
|
python_classes = Test
|
|
python_functions = test
|
|
testpaths =
|
|
test
|
|
worlds
|
|
markers =
|
|
world: general tests that iterate over every registered world (scope with AP_TEST_WORLDS)
|