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

Testing: Test case for serving static files #563

Open
Tracked by #562
amotl opened this issue Oct 28, 2024 · 0 comments
Open
Tracked by #562

Testing: Test case for serving static files #563

amotl opened this issue Oct 28, 2024 · 0 comments
Labels
qa and testing Quality assurance and software testing question Further information is requested

Comments

@amotl
Copy link
Collaborator

amotl commented Oct 28, 2024

Observations

Coming from GH-562, uninstalling whitenoise (and servestatic) made no difference on the outcome of the test suite: It still succeeded.

Thoughts

Responder should at least have a basic software test case which ensures serving static files works well? Or are the static file serving support packages like WhiteNoise and ServeStatic just an optional extension, used on demand when they're installed, otherwise the machinery is falling back to a slower(?) default method?

I guess the most occam's razor like explanation is that a corresponding test case is just missing, and should be added?

Thank you in advance for educating me about this area of the framework, and where I am wrong about my assumptions.

/cc @Archmonger

@amotl amotl added question Further information is requested qa and testing Quality assurance and software testing labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa and testing Quality assurance and software testing question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant