Closed AMDmi3 closed 1 year ago
i was about to open an issue for the same reason. I think the "unofficial" standard is to call the tests files with a test_
prefix, so my suggestion would be to just do that, which will cause the least amount of changes and get the same end result (pytest able to collect and run the tests automatically) -- thanks!
pytest won't run yattag tests out of box because of custom naming. To fix that, either:
tests_*.py
totest_*.py
pytest.ini
should be added with the following contentspytest.cfg
should be added with the following contentsTo run tests in FreeBSD port of yattag I've went the third way and have patched
setup.cfg
(which is present in the yattag distribution from PyPI) with the following: