Things tagged with testing
Unit testing will save you time, money and hair
-
CakePHP test suite icons part 2
-
Testing CakePHP Controllers the hard way
Dec 18 2008
By now you already know or should know about
CakeTestCase::testAction()and the wondrous things it can do. However,testActionhas a few shortcomings. It can’t handle redirects, it doesn’t let you use the power of Mocks, and its impossible to make assertions on object state changes. Sometimes you need to do things the hard way, stick your fingers in the mud and work it out. -
Unit Testing : CakeFest Argentina
Dec 10 2008
These slides were used in a 2 part talk given at CakeFest Argentina on unit testing in CakePHP
-
Making Testable Static classes
Nov 21 2008
If you’ve ever tried to subclass a PHP4 static class you may have come to same conclusion that I have its a total pain in the neck. However, I think I’ve come up with a not too terrible approach.
-
Anatomy of a CakePHP Test Case
Aug 23 2008
With all the talk of testing going on, I thought it would be good to look at how tests work and what is makes them tick. SimpleTest handles the bulk of test case execution, however, there are a few CakePHP specifics that are not part of a normal
SimpleTest::UnitTestCase. -
Code Coverage in CakePHP 1.2 Test Suite
Apr 30 2008
Super fresh in the SVN builds of CakePHP 1.2 is the new code coverage analysis. If you are living on the bleeding edge of cake development or just want a preview of the neat things to come once 1.2 is complete read on.
The guys at debuggable have contributed a fantastic tool to the testing suite for CakePHP 1.2.
Search
Recent Posts
- Looking backwards and forwards
- CakePHP RC4 released
- Testing CakePHP Controllers the hard way
- DebugKit updates
- Free slides - CakeFest Argentina
- CakeFest Argentina after thoughts.
- CakeFest argentina approaches
- Making Testable Static classes
- Using bindModel to get to deep relations
- New home, new sideproject