Clone this repo:

Branches

  1. 3f5ce57 Make testing/testing_support upload reviews to Gerrit by default by Aaron Gable · 8 years ago main
  2. 11e0d2b Version 0.3.0. by Andrii Shyshkalov · 8 years ago
  3. 6c5c356 Require sanity: sort kwargs expectations. NOT OPTIONAL. by Andrii Shyshkalov · 8 years ago
  4. 1a6395d Version bump to 0.2.0. by Andrii Shyshkalov · 8 years ago
  5. 6676fab auto_stub.SimpleMock: add sanity - sort kwargs in expectations. by Andrii Shyshkalov · 8 years ago

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.