Developer convenience is at the top of my list when it comes to any new feature and this new artisan test command certainly fits the bill. It provides the developer with better insight on their test suite with phpunit. It will show all of the test names plus if there's an error, it will preview the code that is failing.
Book Checkout & Book Checkin Flow Feature Test With TDD - Part 2
From unit tests into features test. Let's handle the actual endpoints that our app will consume to checkout and checkin some books.
Book Checkout & Book Checkin Flow With TDD
It's time for us to drive out the checkout and checkin functionality for our app. Let's start with the flow of checking out a book and then the flow for checking one out. Let's also handle some edge cases along the way using test driven development to guide us.
Implementing a firstOrCreate Author Record With TDD
Let's dig through the code and find a way to create authors on the fly for our books. The idea being that a user could type into a "predictive" box in the UI and get a filtered author's list.
Deleting a Record, Asserting Instance Of & Carbon Parse
First of, let's post our project up to Github and then start by implementing the delete sequence for a book. Then let's explore how to parse a date and return a Carbon instance. Finally, let's create a path helper for our book model and refactor.