Summer Sale! All accounts are 50% off this week.

fikri1510's avatar

Testing in Laravel

My question is what the motivation to test something generate by scaffolding (CRUD or authentication) in laravel?Why testing things that we already know correct?

0 likes
1 reply
lbecket's avatar

If you know that something is correct and that it can't change, then I suppose there's no reason to test for it.

There are many in-depth lessons on Laracasts that explain the benefits and different approaches to testing, so I would refer you to those.

1 like

Please or to participate in this conversation.