News Feed
Sections




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

Maarten Manders' Blog:
Static + Unit Tests = Arrrghhh!
August 08, 2008 @ 10:23:08

Take a hint from Maarten Manders when renaming and moving around your unit testing order:

It's absolutely amazing how much you can mess up unit tests just by changing their order! (Trevi_* comes after Tilllate_*) Everyone knows that tests are supposed to be independent. But we all know how it is.

He asks for recommendations on what to do to help the situation. Comments on the post (including ones from Lukas Smith and Sebastian Bergmann) mention using PHPT, a new version of PHPUnit that will do just what he wants and whether or not to use Singletons.

0 comments voice your opinion now!
unittest static phpt phpunit recommend


blog comments powered by Disqus

Similar Posts

Lars Tesmer's Blog: How to Unit Test a Class Making Calls to an URL (or the Filesystem) With PHPUnit

Matthew Weier O'Phinney's Blog: Setting up your Zend_Test test suites

Lars Tesmer's Blog: What My Co-Workers and I Learned When Trying to Write Unit Tests for PHPUnit

Zend Developer Zone: Episode 035: "Unit Testing in Zend Framework 1.8"

Tobias Schlitt's Blog: Reading recommendation: "Exploring PHP"


Community Events





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


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

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