Learn To Test Like A Grumpy Programmer

Chris Hartjes (26.Jul.2018 at 13:00, 4 hr )
Workshop at PHPDetroit Conference 2018 (English - US)

Rating: 5 of 5

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.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

 
Comments closed.

Comments

Rating: 5 of 5

27.Jul.2018 at 11:51 by Pat W (3 comments) via Web2 LIVE

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!

Rating: 5 of 5

28.Jul.2018 at 09:30 by Jenny J (16 comments) via Web2 LIVE

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.

© Joind.in 2018