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

Automated tests(?) #67

Open
nbitzz opened this issue Apr 30, 2024 · 1 comment
Open

Automated tests(?) #67

nbitzz opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nbitzz
Copy link
Contributor

nbitzz commented Apr 30, 2024

might be nice for checking if everything works properly. not now; but later, ofc

@nbitzz nbitzz added the enhancement New feature or request label Apr 30, 2024
@nbitzz
Copy link
Contributor Author

nbitzz commented May 14, 2024

node has a native testing API https://nodejs.org/api/test.html

maybe test:

  • operations
    • files
      • read with and without ranges
      • write files
      • delete files
      • change file ids
      • change file owner
    • accounts
      • create accounts
      • delete accounts
      • etc...
  • apiv1
    • make sure endpoints don't accept invalid data
    • make sure users can't do things only admins should be able to do
    • make sure things are blocked off depending on api key scope
    • etc...

idfk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants