How to get Hudson to show a full report on selenium?

Our Hudson installation shows a very Spartan version of the Selenium report:

Selenium Report Result numTestPasses 2 numTestFailures 0 

I realized that it should be possible to view full reports through Hudson, as well as track test development. But how?

+7
java selenium hudson
source share
5 answers

We configured Hudson to run Selenium using the Ant task. Then we added the post-build action to publish the β€œPublish JUnit Test Results Report”. With this setting, we can see each failed test name along with how much time each test has passed, and the ability to deploy all tests to see the specifics.

You can simply add this post-build action to your project using the Selenium plugin.

+3
source share

Not sure if this matches your environment: I run selenium-rc through JUnit test cases (and phpunit) using ant in the Hudson freestyle project. Hudson collects and publishes JUnit and through xUnit Plugin various other test results at an optional post-build stage.

Perhaps you just need to find out where the build process stores the actual xml report and instruct hudson to publish it?

0
source share

I run Selenium tests in Hudson using this plugin . He conducts Selenium tests and publishes detailed test reports. It is very easy to set up, maybe not ideal if you have many test suites to run.

0
source share

We use the SeleniumHQ plugin. The results are saved in the workspace (this is done in the project configuration using the "Publish Selenium Report"). You can save creation reports using Archive Artifacts in the project configuration.

0
source share

We wrote the Selenium tests as normal JUnit tests that run with the rest of the tests, so the reports are embedded in the junit test report created by hudson.

0
source share

All Articles