You know you're supposed to write unit tests, but you're not quite sure where to start. This session is for you. We will start from ground zero and go from zero unit test writing experience to functional test-driven developed code.

Using the current version of PHPUnit we will cover:
* writing basic test cases
* simple assertions and constraints
* mocking and data providers
* testing exceptions and errors
* and more!

You will leave this session fully ready to write tests for your own code.

Comments

Comments are closed.

Rated 5

Sonny Savage at 12:23 on 9 Feb 2019

Really fantastic introduction to PHPUnit!

Rated 4

Chris Gearhart at 13:34 on 9 Feb 2019

Good talk, gave a great overview of what can be done. Would like to see examples of how to implement without using composer in a Windows environment.

Rated 5

Ravi Gehlot at 12:09 on 10 Feb 2019

Great talk, Brian! I learned some new info I didn't know before. Thanks!