smarty icon indicating copy to clipboard operation
smarty copied to clipboard

Add code coverage

Open bannanc opened this issue 8 years ago • 2 comments

We learned how to do code coverage at MolSSI this week, it is really simple to set up assuming you're running tests with pytest. You just add a line to your travis.yml and go to codecov.io to add the repository and get the link for the badge.

I can look into the ways to do this with nosetests instead or convert our tests over to pytest.

bannanc avatar Jan 25 '18 18:01 bannanc

I think converting to pytest and getting code coverage going makes a lot of sense, though is more important onopenforcefield than here.

davidlmobley avatar Jan 25 '18 18:01 davidlmobley

I think we have an issue on it for openforcefield too. I feel more comfortable using this one for testing the set up since there isn't active development happening.

bannanc avatar Jan 25 '18 18:01 bannanc