-
Notifications
You must be signed in to change notification settings - Fork 9
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
Testing sprout 🌱 #84
Testing sprout 🌱 #84
Conversation
Needs server to be running already.
Use test client instead of already-running server.
By choosing a sequence with fewer references and smaller values
Get revisions to documentation and views.py
Also, only show mid-test messages in verbose mode
This is really convoluted. We should find a better way to handle it.
To clarify a reference to the PostgreSQL installation docs, I changed what looked like a sectioning error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to get it up and running and run the tests! I made some comments on the docs.
OK, I made a couple of small comments/suggestions, but overall this looks really good! So once Kate's resolved her items and Aaron's had a chance to respond to the things I raised, this should be ready to merge. Thanks, Aaron! |
Continuous integration will be in a different pull request.
OK, as far as I can see, everything is set here for merging. But as Kate has to sign off as the original reviewer, I can't merge on the spot. Kate, when you have a chance, make sure you feel all is well, sign off, and merge. Thanks! |
Summary
This pull request develops @liammulh's prototype test (
TrivialTest
) into a small suite of useful tests.Notable features
doc/tests.md
).AbstractEndpointTest
).Pitfalls
POSTGRES_DISPOSABLE_DB
is unset or empty, but the code that makes this happen is very convoluted. It ought to be simplified at some point.ProdConfig
to accommodate other changes, but I don't know how to make sure production mode still works.To do
See
# TO DO
comments.AbstractEndpointTest
to test the background work triggered by each endpoint request.