So we’re going to assume you have a web app, something like RightMove. You can browse properties and if you like them, you can click a little heart icon which will add a particular property to your favourites list. But we’re not going to refresh the search page every time the user clicks the heart.…
There’s surprisingly little out there (that I could find) about writing tests for Laravel applications. Of course, there’s the Laravel documentation, but in many cases I have found it to be either not detailed enough, or in a very counter-intuitive order. I would have really liked more examples. So here are some of my own.…