I am not surprised that there is no answer to this question - the community of testers in CakePHP seems very small. I worked on large projects with a huge number of functional and unit tests (currently a set of about 1,500 tests), but for this I need to expand the functionality of the CakePHP test suite (you can take a look at my now slightly outdated TDD plugin ).
When we started, we did not know much about integration testing, and creating a decent module testing environment was quite a challenge. Now we use Rails :)
In principle, this is not a fair way. To get something working, you need an extension for the framework - it will also require a new test case class that extends PHPUnit_Extensions_Selenium2TestCase
and combines any necessary functions from CakeTestCase
and ControllerTestCase
.
I hope you get somewhere! If you do, it would be great if you could share this code with the rest of the community.
source share