jessegrabowski / gEconpy

A collection of tools for working with DSGE models in python, inspired by the R package gEcon
https://geconpy.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
21 stars 4 forks source link

Improve test coverage #22

Closed jessegrabowski closed 1 year ago

jessegrabowski commented 1 year ago

Current testing suite is with in unittest, but it seems pytest is universally preferred among the scientific packages I follow. It will also give access to pytest-cov, which will complement #21

While I'm at it, I would like to add hypothesis as a dependency and re-write tests using that framework. Should ensure more robust coverage of core functionality (especially the parser).

jessegrabowski commented 1 year ago

It turns out pytest and unittest play fine together, and I have pytest-cov set up. Now what is important is to get 100% coverage of the existing code base.