Symfony 1.4和Jenkins?

Mar*_*arx 2 symfony1 jenkins

有没有人和Jenkins和Symfony 1.4合作过?它使用limetest,我不知道它是否与Jenkins兼容模式!

Pat*_*ick 6

Symfony有两个测试任务:测试:单元和测试:功能.这两个都能够编写Junit xml日志文件:

$ 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
Run Code Online (Sandbox Code Playgroud)

和:

$ 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
Run Code Online (Sandbox Code Playgroud)

也就是说,如果您要管理一个symfony项目(更常见的是任何PHP项目)与Jenkins的持续集成,你应该看一下http://jenkins-php.org/,在我看来是最好的资源关于如何为此设置CI.这使得将Symfony项目测试验证整合到Jenkins成为一个梦想.