Thread Watcher: don't fail when test already failed.

This prevents hiding the likely real root cause of the failure.

Does not depend, but works with https://codereview.chromium.org/2121343004
change to expect_tests.

R=machenbach@chromium.org, sergiyb@chromium.org
BUG=

Review URL: https://codereview.chromium.org/2127943002 .
2 files changed
tree: a764db7ade8c13639f1830898969445bb76ce34a
  1. testing_support/
  2. .gitignore
  3. codereview.settings
  4. LICENSE
  5. README.md
  6. setup.py
README.md

Testing Support

Utilities to support writing unittests for infra-related tools.

Auto stub

Dead simple mocking framework.

Thread watcher

Tracks threads started by the thread and fails if any threads are still running after the test.

Git

A simple ascii-art-schema-based unittest library. Sets up a real on-disk git repo according to a specified ascii-art representation in a class variable.

See testing_support.git.* docstrings for more info.