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

Test coverage #24

Open
2 of 29 tasks
zachsa opened this issue Jun 30, 2023 · 0 comments
Open
2 of 29 tasks

Test coverage #24

zachsa opened this issue Jun 30, 2023 · 0 comments

Comments

@zachsa
Copy link
Collaborator

zachsa commented Jun 30, 2023

httpServer callback tests

  • GET /
  • GET non existing file
  • GET existing file
  • GET existing file range
  • GET existing file multiple ranges
  • PUT without token
  • PUT with token, but without correct permission
  • PUT with token, and with correct permission
  • PUT with token, correct permission - non-existing resource
  • PUT with token, correct permission - existing resource
  • POST without token
  • POST with token, but without correct permission
  • POST with token, and with correct permission
  • POST with token, correct permission - non-existing resource
  • POST with token, correct permission - existing resource
  • DELETE without token
  • DELETE with token, but without correct permission
  • DELETE with token, and with correct permission
  • DELETE with token, correct permission - non-existing resource
  • DELETE with token, correct permission - existing resource

Server mode tests

  • Read only mode
  • Read/write mode

Mount tests

  • Single directory mount
  • Multiple directory mount
  • Multiple directories with duplicated top level directories
  • Multiple directories with duplicated top level files (they should be identifiable)
  • Uploading works with multiple directories
  • Automatic directory creation in cached location if no mount specified
  • Never overwrite existing directories
zachsa added a commit that referenced this issue Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant