Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test runner switched to Pytest #62

Merged
merged 14 commits into from
Sep 1, 2021
Merged

Test runner switched to Pytest #62

merged 14 commits into from
Sep 1, 2021

Conversation

panasevychol
Copy link
Contributor

Test runner switched to Pytest

@panasevychol panasevychol self-assigned this Aug 30, 2021
@panasevychol panasevychol requested a review from 5A11 August 31, 2021 11:24
@panasevychol panasevychol marked this pull request as ready for review August 31, 2021 11:24
Makefile Outdated
@@ -125,7 +125,7 @@ pylint:

.PHONY: test
test:
python -m unittest discover -s .
pytest tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add --doctest-modules option to enforce doctests.

Copy link
Member

@5A11 5A11 Aug 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please add coverage reporting functionality as part of this PR.

You will need to add the correct plugin (pytest-cov ), specify the correct options here (e.g. --cov and --cov-report=, ...), and place the necessary configs in the repo (e.g. .coveragerc). See the aea framework for reference.

Reflect in tox.ini too.

Copy link
Member

@5A11 5A11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@MissingNO57 MissingNO57 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@5A11 5A11 merged commit b1dc946 into master Sep 1, 2021
@5A11 5A11 deleted the feature/pytest branch September 1, 2021 08:58
@5A11 5A11 mentioned this pull request Sep 1, 2021
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.

None yet

3 participants