Skip to content

Make tests runnable with pytest.#39

Open
jd-boyd wants to merge 1 commit into
mattjegan:masterfrom
jd-boyd:jdb_pytest
Open

Make tests runnable with pytest.#39
jd-boyd wants to merge 1 commit into
mattjegan:masterfrom
jd-boyd:jdb_pytest

Conversation

@jd-boyd

@jd-boyd jd-boyd commented Oct 30, 2018

Copy link
Copy Markdown
Contributor

Also update travisci to use pytest.

This is a start on issue #23.

@jd-boyd

jd-boyd commented Oct 30, 2018

Copy link
Copy Markdown
Contributor Author

The idea is to get the existing tests runnable with pytest and travis running it in place before adding to the test load.

I saw the previous failure. Python 2.7 support should be fixable, which I will work on. Python 3.2 and 3.3 is more of a probablem since they aren't supported by pytest. thus removing them from the automatic running.

Also update travisci to use pytest.

Remove travis testing for python 3.2 and 3.3 since PyTest no longer
supports those versions.
@jd-boyd

jd-boyd commented Oct 30, 2018

Copy link
Copy Markdown
Contributor Author

BTW, here is the way to see test coverage:

pytest --cov-report term-missing --cov=HowLong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant