News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Tricorder A Testing Helper for PHP
June 01, 2012 @ 11:11:15

Chris Hartjes, a big proponent of testing in the PHP community, has a new post to his blog about a new testing tool he's released to make it easier for you to know what needs testing - Tricorder.

I've hacked together a little CLI script that I think will be of use to many people who are trying to answer the question "just what should I do to test this thing anyway?" as they learn how to write PHPUnit tests to go along with their code. [...] I've created something that I am calling PHP-Tricorder, a CLI utility that can be used in conjunction with phpdoc structure.xml files to make suggestions on testing scenarios. It's at a 0.1 release right now, so I anticipate it will grow and add more features as time goes on.

The post includes an example of the output generated from the phpdoc's XML output, recommending things like:

  • Mocking certain objects
  • Testing for data types and contents
  • Recommending testing ideas for private/protected methods

You can grab (or contribute to!) the latest version of the tool over on github.

0 comments voice your opinion now!
tricorder testing unittest tool phpdocumentor xml


blog comments powered by Disqus

Similar Posts

MSBWare.com: XML to Array

Nola\'s Blog: Test Freak!

Greg Beaver\'s Blog: How can you help out with PEAR or phpDocumentor?

Test.ical.ly Blog: Best practice of PHPUnit testing a symfony 1.4 plugin

AWS PHP Development: Testing Webhooks Locally for Amazon SNS


Community Events





Don't see your event here?
Let us know!


code configure release developer language list community introduction testing threedevsandamaybe opinion series laravel podcast install interview unittest framework refactor wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework