开发者

Symfony 1.4 and Jenkins?

开发者 https://www.devze.com 2023-04-02 14:00 出处:网络
Ha开发者_如何学运维s anyone worked with Jenkins and Symfony 1.4? It uses limetest and i have no idea if it has a compatibility mode with Jenkins!Symfony have two tasks for testing: test:unit and test:

Ha开发者_如何学运维s anyone worked with Jenkins and Symfony 1.4? It uses limetest and i have no idea if it has a compatibility mode with Jenkins!


Symfony have two tasks for testing: test:unit and test:functional. Both of these are able to write Junit xml log files:

$ php symfony help test:unit
... snip ...

 The task can output a JUnit compatible XML log file with the --xml options:

 ./symfony test:unit --xml=log.xml

and:

$ php symfony help test:functional 

 The task can output a JUnit compatible XML log file with the --xml
 options:

   ./symfony test:functional --xml=log.xml

That said, if you are gonna manage your continuous integration of a symfony project (and more generally any PHP project) with Jenkins, you should take a look at http://jenkins-php.org/ with is the best ressource in my opinion on how to set up CI for this. This makes integrating Symfony projects test validation into Jenkins a dream.

0

精彩评论

暂无评论...
验证码 换一张
取 消