Closed timcallow closed 2 years ago
@DanielKotik this is now ready for your review.
Output from pytest --cov=atoMEC --random-order
:
Output from pytest --cov=atoMEC --cov-branch --random-order
:
Warnings seem to be caused (at least mostly) by use of np.matrix
(#136). This will be fixed in a new PR.
I guess we need to add the various pytest
dependencies to the Pipfile @DanielKotik?
(I think pytest-mock
, pytest-forked
and pytest-xdist
are installed with the main pytest
package anyway).
I've recently noticed I'm getting a bunch of warnings like this as well:
I've been trying but so far failing to figure out the problem / solution. There are some mentions of this issue online (e.g. here) but it didn't really help me yet. Do you also see these warnings @DanielKotik?
In this PR we will add unit tests. Ultimately we should aim for (almost) full coverage.