Test Driven Laravel
We are tackling a brand new series to showcase a real-world workflow that you may adapt to your liking. We will be building a library management software for our local library that will include the ability to checkout books, reserve books and much more. We will be doing this through the TDD methodology, come along as we dissect Test Driven Laravel Development.
e2 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.
e4 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.
e6 Testing Validation, Importing Vue.js & Tailwind CSS
Let's take care of some last minute validation for our Authors flow and then let's shift our focus to the front-end. First, we remove all remains of Bootstrap and then install Vue and Tailwind CSS. Finally, we get to see all of our code that we've written through TDD be accessible through the browser.