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

Tests coverage #7

Open
kachayev opened this issue Mar 12, 2019 · 0 comments
Open

Tests coverage #7

kachayev opened this issue Mar 12, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@kachayev
Copy link
Owner

The simplest test suite should contain the directory with files and at least a single nested directory. Server runner should be refactored into a separate function, so the test might start a new server on a random port and send requests using Aleph HTTP client.

Would be nice to have coverage for the following scenarios:

  • open directory
  • open file
  • last modified flow with 304
  • different content types
  • empty file
  • non-existing file & directory
  • attempt to fetch a file from the parent directory
@kachayev kachayev added the help wanted Extra attention is needed label Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant