-
Notifications
You must be signed in to change notification settings - Fork 130
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
Migrate testsuite from unittest to pytest #460
Comments
Sounds good! Please create a Pr |
I think it is a good improvement, it may speed up the automated test pipeline and allow more insight in the codebase for the purpose of a better proposal. |
@Mec-iS Yes you are right. I have already started working on it. |
please confirm that the number of tests executed by Travis in #466 are the same as in the old test machinery |
@Mec-iS Yes, I can confirm that the number of tests executed by Travis in #466 is same as the old test machinery. I am attaching some screenshots of the relevant parts of the build section so it becomes easier for you to see. The first image is a screenshot of the travis CI build in #466 , it shows that the number of tests run(passed) are 54: The second image is a screenshot of the travis CI build in #456, this one also shows that the number of tests run are 54: Therefore, the number of tests executed by Travis is same in #466 as the old test machinery(54). |
I'm submitting a
Current Behaviour:
The testsuite for hydrus is written using unittest library.
Expected Behaviour:
@xadahiya I feel that using pytest would greatly improve the readability of the test code with its features like fixtures, parameterisation, etc. As hydrus continues to develop and we continue to refactor it, I think this is an important point we might want to consider. The only disadvantage I feel using pytest is that it is not in the standard library.
Steps to reproduce:
Do you want to work on this issue?
Yes
The text was updated successfully, but these errors were encountered: