Open s-leroux opened 5 years ago
alltests.py doesn't contain any testcases recognised by the unittest's loader or test discovery. Instead it has a custom main. that creates the test runner and loads the test cases itself from the other modules.
To run the tests you run the alltests.py as a script.
python3 alltests.py
Or if you were in the parent directory.
python3 tests/alltests.py
That said, for me a number of the tests fail due to seed.py being missing (its located in the examples directory).
Trying to run the tests in the
NBT/tests
folder I noticed thealltests.py
does not seem to run any test. Or am I doing something wrong?