testtools API Documentation

Class Hierarchy

  • AssertionError
    • testtools.matchers._impl.MismatchError - Raised when a mismatch occurs.
  • datetime.tzinfo
    • testtools.testresult.real.UTC - UTC
  • distutils.core.Command
    • testtools.TestCommand - Command to run unit tests with testtools
  • doctest.OutputChecker
    • testtools.matchers._doctest._NonManglingOutputChecker - Doctest checker that works with unicode rather than mangling strings
  • Exception
    • testtools._spinner.DeferredNotFired - Raised when we extract a result from a Deferred that's not fired yet.
    • testtools._spinner.NoResultError - Raised when the reactor has stopped but we don't have any result.
    • testtools._spinner.ReentryError - Raised when we try to re-enter a function that forbids it.
    • testtools._spinner.StaleJunkError - Raised when there's junk in the spinner from a previous run.
    • testtools._spinner.TimeoutError - Raised when run_in_reactor takes too long to run a function.
    • testtools.deferredruntest.UncleanReactorError - Raised when the reactor has junk in it.
    • testtools.runtest.MultipleExceptions - Represents many exceptions raised from some operation.
    • testtools.testcase._ExpectedFailure - An expected failure occured.
    • testtools.testcase._UnexpectedSuccess - An unexpected success was raised.
    • testtools.testcase.TestSkipped - Raised within TestCase.run() when a test is skipped.
    • testtools.testresult.real._StringException - An exception made from an arbitrary string.
  • fixtures.Fixture
    • testtools.tests.test_distutilscmd.SampleTestFixture - Creates testtools.runexample temporarily.
    • testtools.tests.test_run.SampleLoadTestsPackage - Creates a test suite package using load_tests.
    • testtools.tests.test_run.SampleResourcedFixture - Creates a test suite that uses testresources.
    • testtools.tests.test_run.SampleTestFixture - Creates testtools.runexample temporarily.
  • object
    • testtools._spinner.Spinner - Spin the reactor until a function is done.
    • testtools.content.Content - A MIME-like Content object.
      • testtools.content.StackLinesContent - Content object for stack lines.
      • testtools.content.TracebackContent - Content object for tracebacks.
    • testtools.content_type.ContentType - A content type from http://www.iana.org/assignments/media-types/
    • testtools.DecorateTestCaseResult - Decorate a TestCase and permit customisation of the result for runs.
    • testtools.matchers._basic._BinaryComparison - Matcher that compares an object to another object.
      • testtools.matchers._basic.Equals - Matches if the items are equal.
      • testtools.matchers._basic.GreaterThan - Matches if the item is greater than the matchers reference object.
      • testtools.matchers._basic.Is - Matches if the items are identical.
      • testtools.matchers._basic.LessThan - Matches if the item is less than the matchers reference object.
      • testtools.matchers._basic.NotEquals - Matches if the items are not equal.
    • testtools.matchers._basic.IsInstance - Matcher that wraps isinstance.
    • testtools.matchers._basic.MatchesRegex - Matches if the matchee is matched by a regular expression.
    • testtools.matchers._datastructures.MatchesListwise - Matches if each matcher matches the corresponding value.
    • testtools.matchers._datastructures.MatchesSetwise - Matches if all the matchers match elements of the value being matched.
    • testtools.matchers._datastructures.MatchesStructure - Matcher that matches an object structurally.
    • testtools.matchers._doctest.DocTestMatches - See if a string matches a doctest example.
    • testtools.matchers._higherorder.AfterPreprocessing - Matches if the value matches after passing through a function.
      • testtools.tests.test_deferredruntest.AsText - Match the text of a Content instance.
    • testtools.matchers._higherorder.AllMatch - Matches if all provided values match the given matcher.
    • testtools.matchers._higherorder.Annotate - Annotates a matcher with a descriptive string.
    • testtools.matchers._higherorder.AnyMatch - Matches if any of the provided values match the given matcher.
    • testtools.matchers._higherorder.MatchesAll - Matches if all of the matchers it is created with match.
    • testtools.matchers._higherorder.MatchesAny - Matches if any of the matchers it is created with match.
    • testtools.matchers._higherorder.Not - Inverts a matcher.
    • testtools.matchers._impl.Matcher - A pattern matcher.
      • testtools.matchers._basic.Contains - Checks whether something is contained in another thing.
      • testtools.matchers._basic.EndsWith - Checks whether one string ends with another.
      • testtools.matchers._basic.SameMembers - Matches if two iterators have the same members.
      • testtools.matchers._basic.StartsWith - Checks whether one string starts with another.
      • testtools.matchers._dict._CombinedMatcher - Many matchers labelled and combined into one uber-matcher.
        • testtools.matchers.ContainedByDict - Match a dictionary for which this is a super-dictionary.
        • testtools.matchers.ContainsDict - Match a dictionary for that contains a specified sub-dictionary.
        • testtools.matchers.MatchesDict - Match a dictionary exactly, by its keys.
      • testtools.matchers._dict._MatchCommonKeys - Match on keys in a dictionary.
      • testtools.matchers._dict._SubDictOf - Matches if the matched dict only has keys that are in given dict.
      • testtools.matchers._dict._SuperDictOf - Matches if all of the keys in the given dict are in the matched dict.
      • testtools.matchers._dict.KeysEqual - Checks whether a dict has particular keys.
      • testtools.matchers._dict.MatchesAllDict - Matches if all of the matchers it is created with match.
      • testtools.matchers._exception.MatchesException - Match an exc_info tuple against an exception instance or type.
      • testtools.matchers._exception.Raises - Match if the matchee raises an exception when called.
      • testtools.matchers._filesystem.FileContains - Matches if the given file has the specified contents.
      • testtools.matchers._filesystem.HasPermissions - Matches if a file has the given permissions.
      • testtools.matchers._filesystem.SamePath - Matches if two paths are the same.
      • testtools.matchers._filesystem.TarballContains - Matches if the given tarball contains the given paths.
      • testtools.matchers._higherorder._MatchesPredicateWithParams - No class docstring; 1/3 methods documented
      • testtools.matchers.DirContains - Matches if the given directory contains files with the given names.
      • testtools.matchers.MatchesPredicate - Match if a given function returns True.
    • testtools.matchers._impl.Mismatch - An object describing a mismatch detected by a Matcher.
      • testtools.matchers._basic._BinaryMismatch - Two things did not match.
      • testtools.matchers._basic.DoesNotContain - No class docstring; 1/2 methods documented
      • testtools.matchers._basic.DoesNotEndWith - No class docstring; 1/2 methods documented
      • testtools.matchers._basic.DoesNotStartWith - No class docstring; 1/2 methods documented
      • testtools.matchers._basic.NotAnInstance - No class docstring; 1/2 methods documented
      • testtools.matchers._dict.DictMismatches - A mismatch with a dict of child mismatches.
      • testtools.matchers._doctest.DocTestMismatch - Mismatch object for DocTestMatches.
      • testtools.matchers._higherorder.MatchedUnexpectedly - A thing matched when it wasn't supposed to.
      • testtools.matchers._higherorder.MismatchesAll - A mismatch with many child mismatches.
    • testtools.matchers._impl.MismatchDecorator - Decorate a Mismatch.
      • testtools.matchers._higherorder.PostfixedMismatch - A mismatch annotated with a descriptive string.
      • testtools.matchers._higherorder.PrefixedMismatch - Undocumented
    • testtools.monkey.MonkeyPatcher - A set of monkey-patches that can be applied and removed all together.
    • testtools.PlaceHolder - A placeholder test.
    • testtools.run.TestToolsTestRunner - A thunk object to support unittest.TestProgram.
    • testtools.runtest.RunTest - An object to run a test.
      • testtools.deferredruntest._DeferredRunTest - Base for tests that return Deferreds.
        • testtools.deferredruntest.AsynchronousDeferredRunTest - Runner for tests that return Deferreds that fire asynchronously.
          • testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted - Test runner that works around Twisted brokenness re reactor junk.
        • testtools.deferredruntest.SynchronousDeferredRunTest - Runner for tests that return synchronous Deferreds.
      • testtools.tests.helpers.FullStackRunTest - Undocumented
      • testtools.tests.test_runtest.CustomRunTest - Undocumented
    • testtools.tags.TagContext - A tag context.
    • testtools.testcase.Nullary - Turn a callable into a nullary callable.
    • testtools.testcase.WithAttributes - A mix-in class for modifying test id by attributes.
      • testtools.tests.test_testcase.Attributes - Undocumented
    • testtools.testresult.doubles.LoggingBase - Basic support for logging of results.
      • testtools.testresult.doubles.Python26TestResult - A precisely python 2.6 like test result, that logs.
        • testtools.testresult.doubles.Python27TestResult - A precisely python 2.7 like test result, that logs.
          • testtools.testresult.doubles.ExtendedTestResult - A test result like the proposed extended unittest result API.
    • testtools.testresult.doubles.StreamResult - A StreamResult implementation for testing.
    • testtools.testresult.real.ExtendedToOriginalDecorator - Permit new TestResult API code to degrade gracefully with old results.
    • testtools.testresult.real.StreamResult - A test result for reporting the activity of a test run.
      • testtools.testresult.CopyStreamResult - Copies all event it receives to multiple results.
        • testtools.testresult.real.ExtendedToStreamDecorator - Permit using old TestResult API code with new StreamResult objects.
        • testtools.testresult.real.StreamTagger - Adds or discards tags from StreamResult events.
        • testtools.testresult.real.TimestampingStreamResult - A StreamResult decorator that assigns a timestamp when none is present.
      • testtools.testresult.real.StreamFailFast - Call the supplied callback if an error is seen in a stream.
      • testtools.testresult.real.StreamToDict - A specialised StreamResult that emits a callback as tests complete.
        • testtools.testresult.real.StreamSummary - A specialised StreamResult that summarises a stream.
          • testtools.testresult.real.ExtendedToStreamDecorator - Permit using old TestResult API code with new StreamResult objects.
      • testtools.testresult.real.StreamToExtendedDecorator - Convert StreamResult API calls into ExtendedTestResult calls.
      • testtools.testresult.real.StreamToQueue - A StreamResult which enqueues events as a dict to a queue.Queue.
      • testtools.testresult.StreamResultRouter - A StreamResult that routes events.
    • testtools.testresult.real.TestControl - Controls a running test run, allowing it to be interrupted.
      • testtools.testresult.real.ExtendedToStreamDecorator - Permit using old TestResult API code with new StreamResult objects.
    • testtools.testresult.real.TestResultDecorator - General pass-through decorator.
      • testtools.testresult.real.Tagger - Tag each test individually.
    • testtools.tests.matchers.helpers.TestMatchersInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestContainsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestEqualsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestGreaterThanInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestHasLength - Undocumented
      • testtools.tests.matchers.test_basic.TestIsInstanceInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestIsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestLessThanInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestMatchesRegex - Undocumented
      • testtools.tests.matchers.test_basic.TestNotEqualsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestSameMembers - Undocumented
      • testtools.tests.matchers.test_datastructures.TestContainsAllInterface - Undocumented
      • testtools.tests.matchers.test_datastructures.TestMatchesStructure - Undocumented
      • testtools.tests.matchers.test_dict.TestContainedByDict - Undocumented
      • testtools.tests.matchers.test_dict.TestContainsDict - Undocumented
      • testtools.tests.matchers.test_dict.TestKeysEqualWithList - Undocumented
        • testtools.tests.matchers.test_dict.TestKeysEqualWithDict - Undocumented
      • testtools.tests.matchers.test_dict.TestMatchesAllDictInterface - Undocumented
      • testtools.tests.matchers.test_dict.TestMatchesDict - Undocumented
      • testtools.tests.matchers.test_dict.TestSubDictOf - Undocumented
      • testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface - Undocumented
      • testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesInterface - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAfterPreprocessing - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAllMatch - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAnnotate - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAnyMatch - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesAllInterface - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesPredicate - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams - Undocumented
      • testtools.tests.matchers.test_higherorder.TestNotInterface - Undocumented
    • testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr - Undocumented
    • testtools.tests.matchers.test_filesystem.PathHelpers - Undocumented
      • testtools.tests.matchers.test_filesystem.TestDirContains - Undocumented
      • testtools.tests.matchers.test_filesystem.TestDirExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestFileContains - Undocumented
      • testtools.tests.matchers.test_filesystem.TestFileExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestHasPermissions - Undocumented
      • testtools.tests.matchers.test_filesystem.TestPathExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestSamePath - Undocumented
      • testtools.tests.matchers.test_filesystem.TestTarballContains - Undocumented
    • testtools.tests.test_assert_that.AssertThatTests - A mixin containing shared tests for assertThat and assert_that.
      • testtools.tests.test_assert_that.TestAssertThatFunction - Undocumented
      • testtools.tests.test_assert_that.TestAssertThatMethod - Undocumented
    • testtools.tests.test_compat._FakeOutputStream - A simple file-like object for testing
    • testtools.tests.test_deferredruntest.MatchesEvents - Match a list of test result events.
    • testtools.tests.test_deferredruntest.X - Tests that we run as part of our tests, nested to avoid discovery.
    • testtools.tests.test_testresult.Python26Contract - Undocumented
      • testtools.tests.test_testresult.Python27Contract - Undocumented
        • testtools.tests.test_testresult.TagsContract - Tests to ensure correct tagging behaviour.
          • testtools.tests.test_testresult.DetailsContract - Tests for the details API of TestResults.
            • testtools.tests.test_testresult.FallbackContract - When we fallback we take our policy choice to map calls.
              • testtools.tests.test_testresult.StartTestRunContract - Defines the contract for testtools policy choices.
                • testtools.tests.test_testresult.TestExtendedTestResultContract - Undocumented
                • testtools.tests.test_testresult.TestMultiTestResultContract - Undocumented
                • testtools.tests.test_testresult.TestTestResultContract - Undocumented
                • testtools.tests.test_testresult.TestTestResultDecoratorContract - Undocumented
                • testtools.tests.test_testresult.TestTextTestResultContract - Undocumented
                • testtools.tests.test_testresult.TestThreadSafeForwardingResultContract - Undocumented
              • testtools.tests.test_testresult.TestAdaptedPython26TestResultContract - Undocumented
            • testtools.tests.test_testresult.TestAdaptedPython27TestResultContract - Undocumented
            • testtools.tests.test_testresult.TestAdaptedStreamResult - Undocumented
            • testtools.tests.test_testresult.TestStreamToExtendedContract - Undocumented
        • testtools.tests.test_testresult.TestPython27TestResultContract - Undocumented
      • testtools.tests.test_testresult.TestPython26TestResultContract - Undocumented
    • testtools.tests.test_testresult.TestStreamResultContract - No class docstring; 1/5 methods documented
      • testtools.tests.test_testresult.TestBaseStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestCopyStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestDoubleStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract - Undocumented
      • testtools.tests.test_testresult.TestStreamFailFastContract - Undocumented
      • testtools.tests.test_testresult.TestStreamResultRouterContract - Undocumented
      • testtools.tests.test_testresult.TestStreamSummaryResultContract - Undocumented
      • testtools.tests.test_testresult.TestStreamTaggerContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToDictContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToQueueContract - Undocumented
    • testtools.testsuite.ConcurrentStreamTestSuite - A TestSuite whose run() parallelises.
  • testtools.testcase.ExpectedException - A context manager to handle expected exceptions.
  • testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo - Undocumented
  • testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass - Undocumented
  • testtools.tests.test_monkey.TestObj - Undocumented
  • unittest.TestCase
    • testtools.testcase.TestCase - Extensions to the basic TestCase.
      • testtools.tests.matchers.test_basic.DoesNotEndWithTests - Undocumented
      • testtools.tests.matchers.test_basic.DoesNotStartWithTests - Undocumented
      • testtools.tests.matchers.test_basic.EndsWithTests - Undocumented
      • testtools.tests.matchers.test_basic.StartsWithTests - Undocumented
      • testtools.tests.matchers.test_basic.Test_BinaryMismatch - Mismatches from binary comparisons need useful describe output
      • testtools.tests.matchers.test_basic.TestContainsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestEqualsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestGreaterThanInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestHasLength - Undocumented
      • testtools.tests.matchers.test_basic.TestIsInstanceInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestIsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestLessThanInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestMatchesRegex - Undocumented
      • testtools.tests.matchers.test_basic.TestNotEqualsInterface - Undocumented
      • testtools.tests.matchers.test_basic.TestSameMembers - Undocumented
      • testtools.tests.matchers.test_datastructures.TestContainsAllInterface - Undocumented
      • testtools.tests.matchers.test_datastructures.TestMatchesListwise - Undocumented
      • testtools.tests.matchers.test_datastructures.TestMatchesSetwise - Undocumented
      • testtools.tests.matchers.test_datastructures.TestMatchesStructure - Undocumented
      • testtools.tests.matchers.test_dict.TestContainedByDict - Undocumented
      • testtools.tests.matchers.test_dict.TestContainsDict - Undocumented
      • testtools.tests.matchers.test_dict.TestKeysEqualWithList - Undocumented
        • testtools.tests.matchers.test_dict.TestKeysEqualWithDict - Undocumented
      • testtools.tests.matchers.test_dict.TestMatchesAllDictInterface - Undocumented
      • testtools.tests.matchers.test_dict.TestMatchesDict - Undocumented
      • testtools.tests.matchers.test_dict.TestSubDictOf - Undocumented
      • testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface - Undocumented
      • testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode - Undocumented
      • testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific - No class docstring; 1/3 methods documented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesBaseTypes - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesConvenience - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface - Undocumented
      • testtools.tests.matchers.test_exception.TestRaisesInterface - Undocumented
      • testtools.tests.matchers.test_filesystem.TestDirContains - Undocumented
      • testtools.tests.matchers.test_filesystem.TestDirExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestFileContains - Undocumented
      • testtools.tests.matchers.test_filesystem.TestFileExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestHasPermissions - Undocumented
      • testtools.tests.matchers.test_filesystem.TestPathExists - Undocumented
      • testtools.tests.matchers.test_filesystem.TestSamePath - Undocumented
      • testtools.tests.matchers.test_filesystem.TestTarballContains - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAfterPreprocessing - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAllMatch - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAnnotate - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch - Undocumented
      • testtools.tests.matchers.test_higherorder.TestAnyMatch - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesAllInterface - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesPredicate - Undocumented
      • testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams - Undocumented
      • testtools.tests.matchers.test_higherorder.TestNotInterface - Undocumented
      • testtools.tests.matchers.test_impl.TestMismatch - Undocumented
      • testtools.tests.matchers.test_impl.TestMismatchDecorator - Undocumented
      • testtools.tests.matchers.test_impl.TestMismatchError - Undocumented
      • testtools.tests.test_assert_that.TestAssertThatFunction - Undocumented
      • testtools.tests.test_assert_that.TestAssertThatMethod - Undocumented
      • testtools.tests.test_compat.TestReraise - Tests for trivial reraise wrapper needed for Python 2/3 changes
      • testtools.tests.test_compat.TestTextRepr - Ensure in extending repr, basic behaviours are not being broken
      • testtools.tests.test_compat.TestUnicodeOutputStream - Test wrapping output streams so they work with arbitrary unicode
      • testtools.tests.test_content.TestAttachFile - Undocumented
      • testtools.tests.test_content.TestContent - Undocumented
      • testtools.tests.test_content.TestStackLinesContent - Undocumented
      • testtools.tests.test_content.TestStacktraceContent - Undocumented
      • testtools.tests.test_content.TestTracebackContent - Undocumented
      • testtools.tests.test_content_type.TestBuiltinContentTypes - Undocumented
      • testtools.tests.test_content_type.TestContentType - Undocumented
      • testtools.tests.test_deferredruntest.X.Base - Undocumented
        • testtools.tests.test_deferredruntest.X.BaseExceptionRaised - Undocumented
        • testtools.tests.test_deferredruntest.X.ErrorInCleanup - Undocumented
        • testtools.tests.test_deferredruntest.X.ErrorInSetup - Undocumented
        • testtools.tests.test_deferredruntest.X.ErrorInTearDown - Undocumented
        • testtools.tests.test_deferredruntest.X.ErrorInTest - Undocumented
        • testtools.tests.test_deferredruntest.X.FailureInTest - Undocumented
      • testtools.tests.test_distutilscmd.TestCommandTest - Undocumented
      • testtools.tests.test_fixturesupport.TestFixtureSupport - Undocumented
      • testtools.tests.test_helpers.TestStackHiding - Undocumented
      • testtools.tests.test_monkey.MonkeyPatcherTest - Tests for 'MonkeyPatcher' monkey-patching class.
      • testtools.tests.test_monkey.TestPatchHelper - Undocumented
      • testtools.tests.test_run.TestRun - Undocumented
      • testtools.tests.test_runtest.TestRunTest - Undocumented
      • testtools.tests.test_runtest.TestTestCaseSupportForRunTest - Undocumented
      • testtools.tests.test_spinner.NeedsTwistedTestCase - Undocumented
        • testtools.tests.test_deferredruntest.TestAssertFailsWith - Tests for assert_fails_with.
        • testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest - Undocumented
        • testtools.tests.test_deferredruntest.TestRunWithLogObservers - Undocumented
        • testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest - Undocumented
        • testtools.tests.test_deferredruntest.X.TestIntegration - Undocumented
        • testtools.tests.test_spinner.TestExtractResult - Undocumented
        • testtools.tests.test_spinner.TestNotReentrant - Undocumented
        • testtools.tests.test_spinner.TestRunInReactor - Undocumented
        • testtools.tests.test_spinner.TestTrapUnhandledErrors - Undocumented
      • testtools.tests.test_tags.TestTags - Undocumented
      • testtools.tests.test_testcase.Attributes - Undocumented
      • testtools.tests.test_testcase.TestAddCleanup - Tests for TestCase.addCleanup.
      • testtools.tests.test_testcase.TestAddCleanup.LoggingTest - A test that logs calls to setUp, runTest and tearDown.
      • testtools.tests.test_testcase.TestAssertions - Test assertions in TestCase.
      • testtools.tests.test_testcase.TestAttributes - Undocumented
      • testtools.tests.test_testcase.TestCloneTestWithNewId - Tests for clone_test_with_new_id.
      • testtools.tests.test_testcase.TestDecorateTestCaseResult - Undocumented
      • testtools.tests.test_testcase.TestEquality - Test TestCase's equality implementation.
      • testtools.tests.test_testcase.TestErrorHolder - Undocumented
      • testtools.tests.test_testcase.TestNullary - Undocumented
      • testtools.tests.test_testcase.TestOnException - Undocumented
      • testtools.tests.test_testcase.TestPatchSupport - Undocumented
      • testtools.tests.test_testcase.TestPatchSupport.Case - Undocumented
      • testtools.tests.test_testcase.TestPlaceHolder - Undocumented
      • testtools.tests.test_testcase.TestRunTestUsage - Undocumented
      • testtools.tests.test_testcase.TestSetupTearDown - Undocumented
      • testtools.tests.test_testcase.TestSkipping - Tests for skipping of tests functionality.
      • testtools.tests.test_testcase.TestTestCaseSuper - Undocumented
      • testtools.tests.test_testcase.TestUniqueFactories - Tests for getUniqueString and getUniqueInteger.
      • testtools.tests.test_testcase.TestWithDetails - No class docstring; 1/2 methods documented
        • testtools.tests.test_testcase.TestDetailsProvided - Undocumented
        • testtools.tests.test_testcase.TestExpectedFailure - Tests for expected failures and unexpected successess.
      • testtools.tests.test_testresult.TestAdaptedPython26TestResultContract - Undocumented
      • testtools.tests.test_testresult.TestAdaptedPython27TestResultContract - Undocumented
      • testtools.tests.test_testresult.TestAdaptedStreamResult - Undocumented
      • testtools.tests.test_testresult.TestBaseStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestByTestResultTests - Undocumented
      • testtools.tests.test_testresult.TestCopyStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestCopyStreamResultCopies - Undocumented
      • testtools.tests.test_testresult.TestDetailsToStr - Undocumented
      • testtools.tests.test_testresult.TestDoubleStreamResultContract - Undocumented
      • testtools.tests.test_testresult.TestDoubleStreamResultEvents - Undocumented
      • testtools.tests.test_testresult.TestExtendedTestResultContract - Undocumented
      • testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase - No class docstring; 11/15 methods documented
        • testtools.tests.test_testresult.TestExtendedToOriginalAddError - Undocumented
          • testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure - Undocumented
          • testtools.tests.test_testresult.TestExtendedToOriginalAddFailure - Undocumented
        • testtools.tests.test_testresult.TestExtendedToOriginalAddSkip - Undocumented
        • testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess - Undocumented
        • testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess - Undocumented
        • testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator - Undocumented
        • testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes - Undocumented
      • testtools.tests.test_testresult.TestExtendedToStreamDecorator - Undocumented
      • testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract - Undocumented
      • testtools.tests.test_testresult.TestMergeTags - Undocumented
      • testtools.tests.test_testresult.TestMultiTestResult - Tests for 'MultiTestResult'.
      • testtools.tests.test_testresult.TestMultiTestResultContract - Undocumented
      • testtools.tests.test_testresult.TestNonAsciiResults - Test all kinds of tracebacks are cleanly interpreted as unicode
        • testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest - Test that running under unittest produces clean ascii strings
      • testtools.tests.test_testresult.TestPython26TestResultContract - Undocumented
      • testtools.tests.test_testresult.TestPython27TestResultContract - Undocumented
      • testtools.tests.test_testresult.TestStreamFailFast - Undocumented
      • testtools.tests.test_testresult.TestStreamFailFastContract - Undocumented
      • testtools.tests.test_testresult.TestStreamResultRouter - Undocumented
      • testtools.tests.test_testresult.TestStreamResultRouterContract - Undocumented
      • testtools.tests.test_testresult.TestStreamSummary - Undocumented
      • testtools.tests.test_testresult.TestStreamSummaryResultContract - Undocumented
      • testtools.tests.test_testresult.TestStreamTagger - Undocumented
      • testtools.tests.test_testresult.TestStreamTaggerContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToDict - Undocumented
      • testtools.tests.test_testresult.TestStreamToDictContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToExtendedContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract - Undocumented
      • testtools.tests.test_testresult.TestStreamToQueue - Undocumented
      • testtools.tests.test_testresult.TestStreamToQueueContract - Undocumented
      • testtools.tests.test_testresult.TestTagger - Undocumented
      • testtools.tests.test_testresult.TestTestControl - Undocumented
      • testtools.tests.test_testresult.TestTestResult - Tests for 'TestResult'.
      • testtools.tests.test_testresult.TestTestResultContract - Undocumented
      • testtools.tests.test_testresult.TestTestResultDecoratorContract - Undocumented
      • testtools.tests.test_testresult.TestTextTestResult - Tests for 'TextTestResult'.
      • testtools.tests.test_testresult.TestTextTestResultContract - Undocumented
      • testtools.tests.test_testresult.TestThreadSafeForwardingResult - Tests for TestThreadSafeForwardingResult.
      • testtools.tests.test_testresult.TestThreadSafeForwardingResultContract - Undocumented
      • testtools.tests.test_testresult.TestTimestampingStreamResult - Undocumented
      • testtools.tests.test_testsuite.Sample - Undocumented
      • testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun - Undocumented
      • testtools.tests.test_testsuite.TestConcurrentTestSuiteRun - Undocumented
      • testtools.tests.test_testsuite.TestFixtureSuite - Undocumented
      • testtools.tests.test_testsuite.TestSortedTests - Undocumented
      • testtools.tests.test_with_with.TestExpectedException - Test the ExpectedException context manager.
  • unittest.TestProgram
    • testtools.run.TestProgram - A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.
  • unittest.TestResult
    • testtools.testresult.real.TestResult - Subclass of unittest.TestResult extending the protocol for flexability.
      • testtools.testresult.real.MultiTestResult - A test result that dispatches to many test results.
      • testtools.testresult.real.ThreadsafeForwardingResult - A TestResult which ensures the target does not receive mixed up calls.
      • testtools.testresult.TestByTestResult - Call something every time a test completes.
      • testtools.testresult.TextTestResult - A TestResult which outputs activity to a text stream.
      • testtools.tests.helpers.LoggingResult - TestResult that logs its event to a list.
  • unittest2.TestSuite
    • testtools.FixtureSuite - Undocumented
    • testtools.testsuite.ConcurrentTestSuite - A TestSuite whose run() calls out to a concurrency strategy.