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
Update unit tests #177
Comments
Current unit test structureAll tests pass. Heroku only takes ~15 sec, platform.sh ~12 sec,
What happens when running unit tests
After test runs
|
Probable tasks
|
Conclusions
|
Outline what we want to accomplish in the unit test suite
|
Try
|
Restructure unit tests
|
Support a cleaner syntax for testing a single platform
|
Test invalid CLI calls efficiently
|
Working notes - testing invalid CLI calls
|
Use this documentation to start unit tests for fly_ioDocumentation notes:
Working notes:
|
Reuse the same test project for all test modules
|
Document unit tests on RtD
|
Working notes - document unit tests
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many new issues have been opened after some exposure at Djangocon. Most of these issues should have failing tests written before addressing the relevant bug. It's worth cleaning up the unit tests before adding more tests. There was a brief period where unit tests were failing, I believe that was when the sample project was not fully updated.
pytest fly_io
orpytest --platform fly_io
. (Final:pytest platforms/fly_io/
)pytest-xdist
could be used to start parallelizing tests. (Definitely not needed at this point; all tests pass quickly after initial setup work is done.)The text was updated successfully, but these errors were encountered: