~testing-cabal/testtools/trunk

« back to all changes in this revision

Viewing changes to testtools/testresult/__init__.py

  • Committer: GitHub
  • Author(s): Free Ekanayaka
  • Date: 2017-04-11 13:13:10 UTC
  • Revision ID: git-v1:01d4a9b59ecb93701838b8df5ee8fbbd3d22b0f4
Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)

This new decorator implements the TestResult protocol extension supported by test resources. For example, tt makes it possible to easily have resource-related events streamed to subunit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    'ExtendedToOriginalDecorator',
8
8
    'ExtendedToStreamDecorator',
9
9
    'MultiTestResult',
 
10
    'ResourcedToStreamDecorator',
10
11
    'StreamFailFast',
11
12
    'StreamResult',
12
13
    'StreamResultRouter',
30
31
    ExtendedToOriginalDecorator,
31
32
    ExtendedToStreamDecorator,
32
33
    MultiTestResult,
 
34
    ResourcedToStreamDecorator,
33
35
    StreamFailFast,
34
36
    StreamResult,
35
37
    StreamResultRouter,