unit tests #5

Open
opened 2024-09-21 17:33:27 -05:00 by min · 0 comments
Owner

this would make releases a bit smoother, would not need to manually test on staging instance

some checks that would be useful-

  • check / for
    • alive
    • sending proper upload count
  • check /new for
    • not allowing invalid upload keys
    • rejecting files that are too large
    • rejecting temp uploads that are too big for cache
    • rejecting temp uploads with too long of lifespans
    • returning a valid url
  • check /p/<name> for
    • temp uploads expire when they're supposed to
    • normal uploads are accessible, even after expiring from cache
this would make releases a bit smoother, would not need to manually test on staging instance some checks that would be useful- - check `/` for - alive - sending proper upload count - check `/new` for - not allowing invalid upload keys - rejecting files that are too large - rejecting temp uploads that are too big for cache - rejecting temp uploads with too long of lifespans - returning a valid url - check `/p/<name>` for - temp uploads expire when they're supposed to - normal uploads are accessible, even after expiring from cache
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: min/breeze#5
No description provided.