$ cat easier-endpoint-tests-with-policyfake.md
Easier endpoint tests with Policy::fake
Testing endpoints can become time-consuming when we’re testing authorization logic alongside their behaviour. For endpoints gated by complex policies, we end up with a lot of setup to just to get to get the controller method to run.
nolanphillips.substack.com29 Jan 2025 · summary
Read on nolanphillips.substack.com ↗Testing endpoints can become time-consuming when we’re testing authorization logic alongside their behaviour. For endpoints gated by complex policies, we end up with a lot of setup to just to get to get the controller method to run.
source
This is a summary of an article first published by nolanphillips.substack.com. The full piece is on their site.