Open adrybakov opened 11 months ago
Indeed there is no unit test suite right now. It is definitely good to have it. And it can eventually be integrated into the CI: https://github.com/mailhexu/TB2J/blob/master/.travis.yml I will start adding it. Best wishes, HeXu
Great!
It could be a good idea to add testing with the different Python versions to the CI to ensure that the code is compatible with the stated minimal and later versions of Python.
Best, Andrey
Hello!
While making #37 I realised that there is no clear test suite for the TB2J.
If there is some, please correct me.
I propose the following strategy using pytest + hypothesis for the discussion:
With this strategy the tests can be run with the command from the root folder (after
pip install pytest hypothesis
):Example:
P.S. An example of this strategy can be looked at in one of my repositories.