doufu8127 2015-03-12 12:53 采纳率: 100%
浏览 92
已采纳

如何在Atlassian Bamboo中设置phpUnit?

I am new to Atlassian Bamboo. I have my code on Atlassian Stash Repository, and I want to run PhpUnit test on my code using Bamboo plan. I have go through documentation but I am not able to create one. Does anyone knows about it?

  • 写回答

1条回答 默认 最新

  • duanjiaren8188 2015-03-27 13:40
    关注

    I finally solved this issue myself.

    Here is a proper documentation for setting Phpunit with Bamboo https://confluence.atlassian.com/display/BAMBOO/Getting+started+with+PHP+and+Bamboo

    Also in order to set the PHPunit Executable path, we have to set path as: path/to/executable(phpunit folder).cmd and not just: path/to/executable(phpunit folder) Else When you will run the build task, build will fail with error that test results were not found in required directory.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?