Start testing your PHP code

Jason McCreary (08.Feb.2018 at 09:00, 3 hr )
Workshop at SunshinePHP 2018 (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

Comments closed.


Rating: 5 of 5

08.Feb.2018 at 14:02 by Dana Luther (50 comments) via Web2 LIVE

This was a great tutorial. It was very engaging and easy to follow and I feel like I walked away with a much better understanding of how and when to use Mockery with my unit tests.

Rating: 5 of 5

08.Feb.2018 at 15:56 by Ryan Ballard (10 comments) via Web2 LIVE

Very nice beginner intro to PHPUnit and Mockery. I struggled setting up my environment (couldn't upgrade to php 7.0, or get composer running and other issues) and mostly user error, so I was not able to participate completely, but I still learned a lot. By later in the day I got the right environment up and was able to run some tests I wrote in the tutorial! I would highly recommend this tutorial for beginners, just get your environment setup first and basic understanding of how to run PHPUnit.

Rating: 5 of 5

08.Feb.2018 at 17:19 by Ibis Fonte (3 comments) via Web2 LIVE

I feel like I cannot make excuses anymore for not writing tests when I code. Jason made PHP testing easy to learn, and easy to learn how to implement. I'm all in!

I am truly grateful for how patient he was with the questions I asked and how insightful he is regarding testing overall.

This session was awesome!

Rating: 5 of 5

09.Feb.2018 at 09:17 by Kenneth E. Marks (30 comments) via Web2 LIVE

Hey JMac! Thank you so much for an awesome tutorial on testing your PHP code. I really appreciated that you not only showed how to use PHPUnit and Mockery, but that you also gave a lot of the reasons why/how to effectively test your code. Excellent pacing as well!

Rating: 4 of 5

10.Feb.2018 at 10:02 by Chad Grigsby (3 comments) via Web2 LIVE

Wish we had time to get to integration testing but otherwise excellent talk. Thanks Jmac!

Rating: 5 of 5

10.Feb.2018 at 11:15 by Mark Hiler (1 comments) via Web2 LIVE

LVery good, laid back walkthrough about using PHPUnit and Mockery.

Rating: 5 of 5

10.Feb.2018 at 18:53 by Daniel E Brellis (2 comments) via Web2 LIVE

Great introduction to PHPUnit. Would have liked to see some more examples of how Mockery specifically integrates with PHPUnit. Didn't have time to look into Codeception, but gave a brief overview that made me want to investigate myself.

Rating: 4 of 5

11.Feb.2018 at 17:57 by Scott Hardie (17 comments) via Web2 LIVE

What a great tutorial session! This was hugely helpful (my team could do a whole lot more with this) and easy to follow, and fun. Given how similar Mock is to PHPUnit, I do wish that Mock had been glossed over quickly in favor of spending more time on Codeception, the truly different tool of the three and the most potentially promising for some specific business contexts.

Rating: 5 of 5

12.Feb.2018 at 10:40 by david abraham (9 comments) via Web2 LIVE

Great workshop, cant wwait to start using what i learned

Rating: 5 of 5

12.Feb.2018 at 14:11 by Jeremy Hennig (6 comments) via Web2 LIVE

Great tutorial, I learnt quite a bit. Time was well managed and the pace was perfect as I didn't get bored with a single concept.

© 2019