I’m doing some work with CakePHP and want to use Hudson. I can run all kinds of plugins but I don’t see anything for SimpleTest. Until Cake 2.0 comes out and they move to PHPUnit, I’d like to figure out how to run SimpleTest with Hudson.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is an old question, but I thought I’d give my input…
We are still stuck on cake 1.3 and are using Jenkins. We use stagehand-test runner to run the tests and generate the junit report.
You can have your ant build run something like the following:
cakerunner –cakephp-app-path=src/app –log- junit=build/test-results/junit.xml -R src/app/tests
Then in Jenkins you will need to use the ‘Publish JUnit test result report’ instead of “Publish testing tools result report” where PHPUnit and other frameworks are listed.
I made a similar question not too long ago.