What is Programming By Wishful Thinking? A great way to implement your programs when using Test Driven Development is using a top-down approach. Top-down programming is a programming style whereby the large concepts of a program are implemented and then…
Testing
A collection of 4 posts
Using Laravel Model Factories and Model Factory States
Defining Model Factories and Model Factory States Laravel 5.1 came with Model Factories which allow you to generate models with "fake" data using the Faker library. This quickly became a powerful and essential feature which greatly assists…
Spice up your PHPUnit Test Results with Nyancats!
I like many developers love test driven development so in this short tutorial, I'll show you how to use an awesome package to spice up your PHPUnit test results by adding Nyancats to the printer results. Requirements Please make sure…
Configuring Test Suites (PHPUnit) with PHPStorm
I am a very big fan of test-driven development (TDD) and I believe in using tests to verify that a codebase is reliable and stable. I believe in using TDD to produce stable systems and to effectively test software and…