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

215 unittest to pytest #217

Merged
merged 14 commits into from
Jun 5, 2024
Merged

215 unittest to pytest #217

merged 14 commits into from
Jun 5, 2024

Conversation

S-Linde
Copy link
Collaborator

@S-Linde S-Linde commented Jun 4, 2024

This pull request converts the unittest style tests to the pytest format. All tests have been updated with the exception of the tests for the quantify scheduler. These tests should probably be redesigned to use quantify_scheduler instead of mocking its behavior.

Closes #215

@S-Linde S-Linde requested a review from rturrado June 5, 2024 07:31
@S-Linde S-Linde self-assigned this Jun 5, 2024
@S-Linde S-Linde requested a review from juanboschero June 5, 2024 07:31
Copy link
Contributor

@rturrado rturrado left a comment

Choose a reason for hiding this comment

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

Great work, Stan!

Just a few quesstion:

  • Are there any changes in the way we have to run tests now? Or we still run them with python -m pytest -vv or pytest -vv? I suppose yes.
  • Are we introducing any dependencies? I suppose not.
  • Any doc file you think needs updating? E.g., README.md, or CONTRIBUTING.md.

Thanks!

@S-Linde
Copy link
Collaborator Author

S-Linde commented Jun 5, 2024

Great work, Stan!

Just a few quesstion:

  • Are there any changes in the way we have to run tests now? Or we still run them with python -m pytest -vv or pytest -vv? I suppose yes.
  • Are we introducing any dependencies? I suppose not.
  • Any doc file you think needs updating? E.g., README.md, or CONTRIBUTING.md.

Thanks!

No, everything stays the same. We already had pytest as a dependency and we used it to run our tests, so nothing is changed in those regards.

@S-Linde S-Linde merged commit 273325d into develop Jun 5, 2024
17 checks passed
@S-Linde S-Linde deleted the 215-unittest_to_pytest branch June 5, 2024 09:03
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.

unittest to pytest
2 participants