Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by cmgbhm

2 years ago

This is actually a use-case I use for interviews.

1. Everyone tests authenticated user can do the right thing.

2. Can <wrong|expired> authenticated user access the data?

3. Can an unauthenticated user access data?

If there’s a testing framework that does this scaffolding automatically, I’d love to hear it.

0 comments

cmgbhm

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities