OniOni / python-parallel-wd

Run selenium tests in multiple browsers with minimum hastle. Python flavor !
34 stars 13 forks source link

unittest failures are not reported #4

Open LesterTheTester opened 11 years ago

LesterTheTester commented 11 years ago

When the unittests fail, their failure is not reported:

  1. Run some tests
  2. Tess fail due to an exception, like: NoSuchElementException: Message: u"Unable to find element with id == login_btn
  3. After all tests / subtests finish, unittest framework reports status to us

Expected: Any tests that had subtests fail are reported as failing

Actual: No failures are reported. I get this message even though all subtests failed due to the same exception:

Ran 2 tests in 103.678s

OK

zkisling commented 10 years ago

This still seems to be an issue. The plugin is great besides it doesn't fail test properly. When running a single test without wd.parallel annotations the test will fail as should. Is this being worked on? I will need to try another solution if no.