Category: Laravel, PHP, javascript
Writing Unit/Feature tests is a great way to ensure that our codes work as intended so that we can deploy them with confidence.
And sometimes, we’re mocking the behavior of external resources (i.e. External APIs) so that our tests become independent of the external things.
End-to-end testing is a technique that tests the entire software product from beginning to end to ensure the application flow behaves as expected.
With E2E testing, we want to make sure that everything is integrated and bug-free.
So writing the unit/features tests as well as the End-to-end testing is a great way to level up our product quality!