The Dirty Filter

Our tests are telling us that we need a Book class so let's go and write a BookTest which will test that a Book can be created using the 'create' named constructor.

I'll also use this lesson to show you another one of Pests cool features and that is the --dirty filter. This enables you to filter your tests for ones which have uncommitted Git changes...how cool!

Branch: https://github.com/GaryClarke/pest-tdd/tree/37-book-test

Complete and Continue  
Discussion

0 comments