Start testing your PHP code

Jason McCreary (07.Feb.2019 at 13:00, 3 hr )
Workshop at SunshinePHP 2019 (English - US)

Rating: 5 of 5

In this workshop we’ll cover different ways to test your PHP code. Our focus will be the tools and writing tests - we won’t get caught up in all the testing dogma. Instead, we’ll create a foundation in tools like PHPUnit, Mockery, and Codeception so you can make the decisions about what testing tools and strategies work best for you and your code. So if you’re looking to start testing your PHP code, or learn other PHP testing tools, this workshop is for you.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= eight minus seven


Rating: 5 of 5

08.Feb.2019 at 10:35 by Ivan Stanisavljevic (7 comments) via Web2 LIVE

Cool approach in getting the newbies into the testing world

Rating: 5 of 5

08.Feb.2019 at 12:13 by Stephen Rees (15 comments) via Web2 LIVE

Fantastic - fast-paced, effective introduction into test-driven development, PHPUnit, and Mockery. Just what I needed to take back with me.

Rating: 5 of 5

08.Feb.2019 at 12:29 by Derek Honeycutt (11 comments) via Web2 LIVE

Clear presentation

Rating: 5 of 5

08.Feb.2019 at 13:20 by Kevin Rabello (3 comments) via Web2 LIVE

Great info but a bit rushed

Rating: 5 of 5

09.Feb.2019 at 10:17 by Scott McCandless (5 comments) via Web2 LIVE

Very useful in increasing my knowledge of PHP Testing. JMac gave real wold examples so it was very easy to apply this to my specific needs. Great presentation!

Rating: 5 of 5

09.Feb.2019 at 11:45 by Brad Reed (2 comments) via Web2 LIVE

Great introduction to PHPUnit and basic concepts of Test Driven Development!

Rating: 4 of 5

09.Feb.2019 at 15:11 by John Ashton (6 comments) via Web2 LIVE

Great talk. Can you please provide the slides?

Speaker comment:

09.Feb.2019 at 15:15 by Jason McCreary (12 comments) via Web2 LIVE

Links to the repo containing code of the live demos for PHPUnit, Mockery, and Codeception and a video which recaps the TDD aspects covered in the first hour are included above.

Rating: 5 of 5

09.Feb.2019 at 20:19 by ROBERT A GADON (10 comments) via Web2 LIVE

A very dynamic speaker. While I found the GitHub repo a bit tricky to install locally in order to follow along, I was able to watch, listen, and follow along as Jason demonstrated testing on the screen. It helped that I had some prior familiarity with PHP unit testing (although only on code written in procedural). Watching testing being done on a object-oriented codebase was new for me. Jason moved through the material very quickly. I suppose that was appropriate given the skill level of the rest of his audience. While I don't feel ready yet to implement unit testing on an OO-based codebase, I got a lot of value in attending a workshop where I could just listen and follow along with an experienced developer talking at length about this topic. Bonus: learning about Jason's recently published book, 'BaseCode'. Something I intend to purchase to learn from his experience as a developer.

09.Feb.2019 at 20:21 by ROBERT A GADON (10 comments) via Web2 LIVE

Jason, you clearly know your material, and you're a very energetic person when you present. My one recommendation to you when you present this topic again is ......slow down the pace at which you speak. There's no need to rush.

Rating: 5 of 5

10.Feb.2019 at 11:39 by Ravi Gehlot (15 comments) via Web2 LIVE

Jason was awesome! He did great walking his session through the thought process behind TDD while doing a live demo. It definitely helped me solidify what I already knew. Thanks, Jason!

© 2019