bartongroup / slivka

http://bartongroup.github.io/slivka/
Apache License 2.0
7 stars 3 forks source link

Migrate tests to pytest or unittest #125

Closed warownia1 closed 10 months ago

warownia1 commented 1 year ago

Nosetest is not maintained anymore and does not work on Python version 3.11. All tests should be migrated to a more recent testing framework such as pytest or unittest. pytest is an excellent, popular and well-maintained testing framework made for Python so it integrates with the language really well. unittest is a Python implementation of a JUnit testing framework. It's a part of Python's standard library, but it's a bit clumsy and not very Pythonic. nose2 claims to be a successor of nose, however it's actually an extension of unittest2, a backport of unittest. It doesn't support original nose tests and is not as popular and well-supported as unittest/unittest2

warownia1 commented 1 year ago

https://github.com/pytest-dev/nose2pytest