Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I cannot find a link to test results in hudson. How do I view test results (i.e. which of the tests failed) in Hudson web interface?

I have "Publish JUnit test result report" checked for the project. I'm pretty sure that "Test report XMLs" has the correct setting: (trunk/tmp/selenium-test-run/*.xml). I used workspace explorer to see whether Hudson does see the test results directory (it does). And there is a test results files in this directory.

But I still cannot find a link to results viewer. Does Hudson has this feature at all?

P.S.: I did search through online docs, found nothing. I did google it. Found nothing useful. I did not read the whole documentation.

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

Are you trying to publish JUnit test results or selenium test results? If it is the latter, try the Seleniumhq Plugin. Since I never used it, you have to find the right configuration by yourself but there are a few questions about this topic on StackOverflow. Just as an info there is a second selenium plugin available, but I think the I mentioned is the right one for displaying the test results.

share|improve this answer
1  
These are actually phpUnit tests. I figured out that XML results files are not exactly the same as jUnit produces. xUnit plugin resolved the issue. –  Max Kosyakov Sep 29 '10 at 7:09
add comment

I've had trouble with getting the path's to these before. This one works for, In hudson I have defined a job called "hello", the path in hudson is set to:

hello/junit-results/TEST-hello.TestHello.xml

Which on the filesystem is at:

/home/me/.hudson/jobs/hello/workspace/hello/junit-results

I've some vague idea that the "performance" plugin plays a role in the publishing of junit results but maybe that's just for the graphs.

http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin

share|improve this answer
    
Thanks, quite a neat plugin. –  Max Kosyakov Sep 29 '10 at 7:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.