theonlysam / verb-conjugator

MIT License
0 stars 0 forks source link

finish tests #32

Open bbelderbos opened 1 year ago

bbelderbos commented 1 year ago

Eg:

def test_if_invalid_moods_are_returned(verb_con):
    pass

def test_if_invalid_moods_not_returned(verb_con):
    pass

And some more ...

bbelderbos commented 1 year ago

You can see how coverage goes:

(venv) $ pip install pytest-cov
(venv) $ pytest --cov=. --cov-report=term-missing

Currently ~48%

image
bbelderbos commented 1 year ago

test standard output = use capfd (no 10 of https://pybit.es/articles/pytest-tips/)

bbelderbos commented 1 year ago

Referencing the package now since branch debug-060220223

$ pytest --cov=verb_conjugator --cov-report=term-missing