Closed martinholmer closed 5 years ago
@codykallen, pull request #65 is ready for review.
@martinholmer, these tests (and minor nonsubstantive modifications to some of the other files) look good to me. If there are no more changes forthcoming to this PR, I'll be happy to merge it in.
@codykallen said in PR #65:
these tests (and minor nonsubstantive modifications to some of the other files) look good to me. If there are no more changes forthcoming to this PR, I'll be happy to merge it in.
OK. Go ahead with the merge. I will propose more tests later, but this is some improvement in test coverage.
This pull request adds some tests that increase code coverage. As in the other PSL tax model repositories, code coverage is based only on tests that are not marked
@pytest.mark.requires_pufcsv
. Before this pull request there were 29 such tests, which take about 55 seconds to execute when using thepytest -n4 -m "not requires_pufcsv"
command on my computer.Before adding any new tests (as of commit 7b8d5a4, which configures the coverage tool and marks two tests as
requires_pufcsv
), the 29-test coverage rate is 58% and the detailed coverage report looks like this:After the final commit in this pull request, there are more tests marked
@pytest.mark.requires_pufcsv
, which take about 68 seconds to execute when using thepytest -n4 -m "not requires_pufcsv"
command on my computer. The additional tests raise the test coverage rate from 58% to 75%.There will be more tests added in subsequent pull requests.