What if you could learn how to write tests from someone who has been using them for a long time and also knows how to explain it in a way that cuts down on the fear and anxiety while teaching you what you need to go to get started immediately?

In this tutorial, Chris will teach the basics of writing tests using PHPUnit. Topics covered include:
* high-level discussion of the role of testing
* assertions
* the Arrange-Act-Assert pattern
* what a PHPUnit test file looks like and where to locate them
* test doubles and when to use them
* strategies for building test scenarios

Attendees will need the following:
* a laptop with PHP 7.2.x + stable PHPUnit + Mockery the most and be ready to actually write tests.

Comments

Comments are closed.

Pat W at 11:51 on 27 Jul 2018

Came in with some conceptions of TDD but was greeted with a very straightforward and interesting view of how testing and test driven development is important. Had a great time doing coding examples and listening to Chris give us his views on testing and life. Thanks for the presentation!

Jenny J at 09:30 on 28 Jul 2018

Completely changed my view on testing, and made it immensely more accessible to me, in my brain. I can't control the testing at work, but I will definitely be implementing on personal projects.