PHP Unit Testing Framework Recommendation

Hi Guys,

I am working on a web framework and hoping to find a recommendation for a good PHP Unit Testing framework. Any based on ports from other technologies?

Appreciate any mentions of testing frameworks others have used.

Cheers,
Cam

Is there any frameworks based on JUnit? :slight_smile:

Welcome to SitePoint, check out PHPUnit. :slight_smile:

I was a big fan of PHPUnit, my hope was that much of the API “might” cross over into any xUnit family so if I switch to Java or C# I wouldn’t have to re-learn everything. I am not sure this is the case, this was a decision I made several years ago and lately I’ve been playing more with SimpleTest. Mostly because Marcus actually comes here and is easy to question about best practices, etc.

It’s also much easier to get started with as PHPUnit I never did get working on Windows. :stuck_out_tongue:

Cheers,
Alex