开发者

Configuring xUnit test output in Hudson

开发者 https://www.devze.com 2022-12-28 03:19 出处:网络
I have a simple PoC project in Hudson.The PoC has unit tests written via UnitTest++ and outputs the results as XML for consumption by xUnit to munge into jUnit format.

I have a simple PoC project in Hudson. The PoC has unit tests written via UnitTest++ and outputs the results as XML for consumption by xUnit to munge into jUnit format.

Here are the salient relevant

  • I have my project configured to use MSBuild to build the 2008 solution.
  • The project contains both the dll it is to build and the unit tests which are run as a post-build step.
  • I set my workspace in Hu开发者_开发技巧dson is set to c:\develop\money (Money is the name of the project) and in the Hudson console I can see the workspace folders, the solution file and output folders (/bin, /doc, etc).
  • The test console app outputs its file 'money_unit_tests.xml' to the folder 'reports' (making c:\develop\money\reports) which is precreated.

However it seems that the workspace isn't sticking. If I submit the workspace directory it shows me the folders but if I then reload the page then it shows the 'No files in directory' message.

Why does Hudson not use C:\Develop... like I configured it?

What can I do change it?

If I can't change it, what can I do to mitigate these changes? (I don't exactly want to hardcode the output for the xml to C:.hudson...)


It appears in Configure there is an Advanced option which hides several additional options. Under there is custom workspace, which puzzles me as to what the workspace folder is for (which is still blank).

0

精彩评论

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

关注公众号