-
-
Notifications
You must be signed in to change notification settings - Fork 12
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: Integration test for successful app start #218
Comments
urllib.error.HTTPError: HTTP Error 404: Not Found i am getting this error while running your "python app/app.py" command in python virtual env |
Hi @AmanSal1, could you please open a separate issue to tell us more about the error you are seeing:
Thanks! |
@clstaudt compiled it !! now working fine would work on your bug now |
can you explain in brief about the the issue ? Test: Integration test for successful app start #218 |
Good news @AmanSal1 We welcome your contribution. The task is to implement a test that tests whether the app starts and quits successfully, as part of the test suite in Here's how you can proceed:
Here's how to contribute:
|
@clstaudt as if now there is no module to test that the app starts and quits successfully,so we have to implement a function to check it ? right ? |
@AmanSal1 Correct, currently there is no test in the test suite that would catch any error that prevents the app from starting. The test suite is run via the GitHub CI pipeline after every commit - which then shows ✅ or ❌. |
@AmanSal1 A unit test that would fail on such an error would be great. Also, any test that fails when the app fails to start properly. |
@clstaudt thank you for the explanation i got the clarity will work on it now |
@AmanSal1 Another reason why we need such tests: A developer used a feature from Python 3.10. With Python 3.9 it's a syntax error that prevents the app from starting. No developer noticed because everyone was working with 3.10. That's where automatic tests come in, to quickly test things across environments. |
@clstaudt yes yes i got your point faced a same issue when i was trying to compile some other github projects . |
First attempt: This is not yet working since the app process does not terminate.
The text was updated successfully, but these errors were encountered: