Test doubles are a very controversial topic for those who care about writing tests. Knowing what they are and having a strategy for using them is an essential tool for writing effective tests.

By the end of this session you will have learned the following:

What types of test doubles PHP folks are likely to use
The Chicago School vs. London School test double argument
How to use test doubling frameworks
How to roll your own test doubles

Comments

Comments are closed.

Rated 4

David Sutphin at 19:02 on 23 May 2019

I learned that what I thought were called mocks are actually called doubles from this.