Has anyone tried integrating Dojo DOH unit-tests with Jenkins?
I'd like to do the following, but don't want to reinvent it if this has already been done. So, I'm thinking:
- Kick off the DOH-tests from a post-build step in Jenkins and wait for the results
- Run the tests themselves in a headless-browser (e.g. Crowbar)
- Parse the succes/error-count from the HTML returned by Crowbar
- Find (or write) a Jenkins plugin that will (a) fail the build if there are failing tests, (b) render the test results, (c) possibly integrate results into the CI game plugin
Questions:
- Has this been done before?
- Do you see any issues with the outline above?
- Do you know of a Jenkins plugin that will help, or will I have to build my own?
1. Automated Dojo testing - DOH & Selenium-RC (Rob Coup - 2008/01/03)
2. Seems reasonable to me.
3. Jenkins Selenium plugin