Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BENderIsGr8te's avatar

Best Book for learning Testing

I thought there was a book circulating recently that was similar to the Refactoring to Collections that Adam Wathan wrote that includes a video series teaching testing. I don't do any and I need to learn how to do some. I know Jeffrey Way has a book and I was going to buy it unless anybody has any other suggestions.

0 likes
5 replies
BENderIsGr8te's avatar

SeedPrez, I am only a beginner for testing, I have been writing PHP for 10 years with zero tests (I know, a sin). Are you saying this isn't good for beginning testers or beginning PHP programmers?

SaeedPrez's avatar

@BENderIsGr8te I wouldn't call you a beginner with 10 years of PHP experience, not by any means. I was a late-test-bloomer myself.

The course is a gem in my opinion, to see how a "pro" thinks and builds a whole site from the ground up using TDD, so by all means do get it. Even if it's hard for you to follow right now, you can come back to it in a week or two after checking some other tutorials.

PS. With beginner I meant the large pool of people who understand more or less zero PHP and start programming with Laravel.

2 likes
nomikz's avatar

Course is outstanding.

Sure some intro knowledge of testing is essential to go through the course. Just get the understanding of the tdd and how code testing works.

Then move on to Adam Wathan's course.

Jeffrey Way has entire series for tdd. Definitely, go through them. I don't go through those courses for knowledge. I go there to get their thinking of good code. Unfortunately, there are just no solid php courses except for those old include, require, no psr, autoloading ones. And no good intro course for oop.

Only good resourse for php devs is laracasts.

Please or to participate in this conversation.