Improve package's doctests #1061
Labels
kind:roadmap
A group of issues, constituting a delivery roadmap
kind:test
Adding missing tests or correcting existing tests
Milestone
Hi there!
I really enjoy OpenFisca, but I recently encountered an issue.
Here is what I did:
Here is what I expected to happen:
Here is what actually happened:
Context:
Python provides
doctests
to help keep a testable documentation.They provide some benefits:
Complications:
Today the code coverage by doctests is mild, they are not run, and most of them are broken.
Some observed consequences:
iswas brokenProposal:
Fix, complete, and run doctests systematically!
TODO
openfisca_core.projectors
doctestsopenfisca_core.reforms
doctestsopenfisca_core.simulation_builder
doctestsopenfisca_core.simulations
doctestsopenfisca_core.taxbenefitsystems
doctestsopenfisca_core.taxscales
doctestsopenfisca_core.tracers
doctestsopenfisca_core.variables
doctestsopenfisca_web_api.loader
doctestsThe text was updated successfully, but these errors were encountered: