2
有沒有人曾與詹金斯和Symfony 1.4?它使用limetest,我不知道它是否與Jenkins有兼容模式!Symfony 1.4和Jenkins?
有沒有人曾與詹金斯和Symfony 1.4?它使用limetest,我不知道它是否與Jenkins有兼容模式!Symfony 1.4和Jenkins?
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
和:
$ 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
這就是說,如果你要管理你的symfony項目的持續集成(以及更一般地,任何PHP項目)與詹金斯,你應該看看http://jenkins-php.org/與我認爲如何設置CI的最好的資源。這使得將Symfony項目測試驗證集成到Jenkins中成爲一個夢想。
你需要什麼「兼容模式」?詹金斯可以運行你想要的任何可執行文件或腳本,並檢查輸出中的任何模式。所以如果你沒有找到你的特定工具的Jenkins插件,只需使用通用的插件。 –
JUnit XML導出 – Marx