Lately I’ve been working with phpUnderControl and I think it’s a very cool project… the problem is that it doesn’t support Simpletest (which is the default test suit for Cake…)
Searching for a solution, I saw this Drupal patch that pretty much let you run simpletest with phpUnderControl on Drupal apps.
So I started hacking on it so it would work on Cake apps… and after a while, I got it work a bit… however, there are still some simpletest configurations requirements that I haven’t been able to figure out…
So, if someone else is interested in running simpletest with phpUnderControl and would like to contribute with some code, I uploaded what I have so far on github…
http://github.com/jpablobr/cakeUnderControl
Just today I started my research in order to chose a Continuous Integration tool for our cakePHP projects.
Do this patch allow to have the full functionality of phpUnderControl over simpleTest?
Would be better to try to integrate phpUnit on cakePHP?
Thanks for your hard work!
Hey Antonio, actually if you are not very familiar with Simpletest I wouldn’t recommend it…
It’s still very buggy… and actually, looking for another testing framework, I found Cucumber (mainly for Rails) but apparently you can integrate it with PHP… looks very promising…
I’ll give it a try and maybe post about it…
Cheers!
Hi José,
I’m seeing my project. I’m also seeing the SimpleTest menu link. But I’m not getting any results in it. I’ve placed the following in my build.xml based on your Drupal link; but I feel I may be way of:
Do you maybe have an example of how you tie in the cake test framework into the cruisecontrol build process?
I wasn’t able to paste XML here, but here’s a link:
http://bin.cakephp.org/view/647856866
Sorry for the postflood, but you probably had to modify:
http://demo.codesetter.com/files/run-tests-xml.php.txt
in some way, right?
Hi kvz, I actually never got it to work properly, I had to start working on other things and was not able to dedicate more time to it…
That’s why I uploaded to github what I had… so if someone else was interested, it could be a starting point…
Yes, it would be better if you review http://demo.codesetter.com/phpundercontrol-drupal-6-n-7 post so you can have a better idea on how the Drupal guys made it work for them…
I wish I could help you a bit more but I’m really swamp with a bunch of projects…