Unit Testing: Multiple Assertions And Lazy/Shallow Testing Are Evil
Unit Testing as a practice is like any other – there are good practices, and bad practices. Two of the worst practices are overloading tests with assertions, and writing lazy or shallow tests. Before...
View ArticlePHP Mutation Testing With MutateMe
Writing a while ago about the problem of shallow testing (when tests appear to verify code is working on the surface but actually fail when you examine them more closely) dragged up some enthusiasm to...
View ArticlePHP Mock Objects: Sucking Ass Since Forever
Admit it, you look forward to my colourful blog posts . This one has been two years in the making, but it’s only recently, with the wait for Zend Framework 2.0, that I’ve had time to pull together all...
View ArticleThe Mockery: PHP Mock Objects Made Simple
As I explored in my previous post, PHP Mock Objects: Sucking Ass Since Forever, Mock Objects in PHP have had difficulty gaining traction. One of the targets of this examination (in between variations...
View ArticleMockery Terminology: Any Suggestions From The Audience?
Mockery is my Mock Object Framework for PHP 5.3, geared towards replacing existing mock object solutions (like PHPUnit Mock Objects) with a simpler, more flexible and more intuitive alternative with a...
View ArticleWhat is Mutation Testing?
Image via Wikipedia Some time ago, in between working on Zend Framework, I booted up a couple of libraries that I really wanted to integrate into my workflow. Recently, I’ve been being putting these...
View Article
More Pages to Explore .....