• Laravel testing 101

    The Laravel Testing 101 ebook is launched and ready!

    I am extremely excited to announce the availability of the Laravel testing 101 ebook! I have spent countless hours working on this ebook over the last months and I hope that it will help you learn how to add tests to your Laravel CRUD applications. You can get your copy for just 19.99$ (limited time only): https://leanpub.com/laraveltesting101   you can also sign up here to get 3 free chapters: https://laraveltesting101.com/ Please let me know any feedback by tweeting at me (@djug) or simply emailing me (my first name at gmail).

  • Laravel,  Laravel testing 101

    [Laravel Testing 101] Writing tests for guest user functionalities on a Laravel CRUD application

    This is an excerpt of my upcoming ebook Laravel Testing 101. If you haven’t read the previous chapters yet (available for free here: Adding Tests to your Laravel CRUD Application: Where to Start? and here: What should we be testing in a [laravel] CRUD application?), please do so before reading this one. Now that we have a better idea about the functionalities we should be testing in our Laravel application, let’s start with testing what a guest can do, since it is less complicated than what a logged in user can do. As we discussed I the previous chapter, here are the functionalities related to guests that we have in…

  • Laravel,  Laravel testing 101

    What should we be testing in a [laravel] CRUD application?

    This is an excerpt of my upcoming ebook Laravel Testing 101. If you haven’t read the previous chapter yet (available for free here: Adding Tests to your Laravel CRUD Application: Where to Start?), please do so before reading this one.   Now that you understand that you should be looking at tests from a different angle, and that we should test mainly controllers, you might start to ask, “… but what should I be testing exactly?” In this chapter, we are going to answer this question and describe what we will be testing in the rest of the ebook. But first, let’s get the demo application the book is built…

  • Laravel,  Laravel testing 101

    Adding Tests to your Laravel CRUD Application: Where to Start?

    This is an excerpt from my upcoming ebook Laravel testing 101 Imagine you are working on a Laravel side-project or you just joined a team working on a Laravel application, and it currently doesn’t have a single test. You want to change that, and add tests to the application. If you find yourself in this situation, you might not even know where to start. “Should I unit test everything? Should I just test the most critical parts of the application?” You might even find yourself asking “Why do I need tests in the first place?” I am writing an ebook to answer all these questions for you, and this is…