I have python unittest tests using Selenium 2 and I can run it fine on my computer but now I want to use it with Jenkins. In the "execute shell", I call my script that runs all my Selenium tests but even though I get an Error or Fail for the tests, Jenkins says "Finished: SUCCESS" in the console output and thinks it passed in the console output.
1) Why does it think it passed? How can I let Jenkins detect it actually failed?
2) How can I generate an XML report of the test results so that it is compatible with JUnit and Jenkins? (testrunner?)
Thanks!