Mark,

Thanks.  I was actually able to figure out what I needed from the console
output on http://ci.cakephp.org

I created some test cases and I'm good to go now with unit testing, code
coverage, etc within Jenkins for Cakephp 2.x Thanks!


Here is what I did:


I created this in the Test/Case folder and it seems to work for testing my
app controllers. 

class AllControllerTest extends PHPUnit_Framework_TestSuite {

        public static function suite() {
                $suite = new CakeTestSuite('All Controller class tests');

                $suite->addTestDirectory(APP_TEST_CASES . DS .
'Controller');
                return $suite;
        }
}

>From within jenkins I do:

/opt/Cake/Console/cake testsuite app AllController --stderr --log-junit
build/logs/junit.xml --coverage-clover build/logs/clover.xml


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of mark_story
Sent: Sunday, September 18, 2011 12:03 PM
To: CakePHP
Subject: Re: http://ci.cakephp.org/

Not yet, but I hope to get around to adding it as part of the 2.0
docs.  The CakePHP configuration is stupid simple right now, and
mainly consists of running the AllTests.

-Mark

On Sep 17, 3:21 pm, Meroe <[email protected]> wrote:
> Any documentation on how you set up CI for cakephp using jenkins?

-- 
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to