Did I find the right examples for you? yes no

All Samples(201)  |  Call(7)  |  Derive(121)  |  Import(73)
A test result class that can print formatted text results to a stream.

Used by TextTestRunner.

src/s/o/SomePackage-HEAD/examples/fake_suite/do_run.py   SomePackage(Download)
import foo_package.test_this
suite = foo_package.test_this.load_tests(None, None, None)
 
import unittest, sys
result = unittest._TextTestResult(sys.stdout, 1, 1)

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/logilab/common/testlib.py   modern-python-example(Download)
class SkipAwareTestResult(unittest._TextTestResult):
 
    def __init__(self, stream, descriptions, verbosity,
                 exitfirst=False, pdbmode=False, cvg=None, colorize=False):
        super(SkipAwareTestResult, self).__init__(stream,

src/m/e/META-SHARE-HEAD/lib/python2.7/site-packages/django_jenkins/runner.py   META-SHARE(Download)
import unittest
from cStringIO import StringIO
from unittest import _TextTestResult, TestResult
from xml.dom.minidom import Document
from django.conf import settings
class _XMLTestResult(_TextTestResult):
    """
    A test result class that can express test results in a XML report.
 
    Used by XMLTestRunner.

src/d/j/django-hudson-25-0.9.0/django_hudson/xmlrunner.py   django-hudson-25(Download)
import sys
import time
from unittest import TestResult, _TextTestResult, TextTestRunner
from cStringIO import StringIO
from django.test.simple import DjangoTestSuiteRunner
class _XMLTestResult(_TextTestResult):
    """A test result class that can express test results in a XML report.
 
    Used by XMLTestRunner.
    """

src/x/m/xmlrunner-1.7.4/xmlrunner/xmlrunner.py   xmlrunner(Download)
    from unittest2.result import TestResult
except ImportError:
    from unittest import TestResult, _TextTestResult, TextTestRunner
 
try:
class _XMLTestResult(_TextTestResult):
    """
    A test result class that can express test results in a XML report.
 
    Used by XMLTestRunner.

src/d/j/django-hudson-0.9.1/django_hudson/xmlrunner.py   django-hudson(Download)
import sys
import time
from unittest import TestResult, _TextTestResult, TextTestRunner
from cStringIO import StringIO
from django.test.simple import DjangoTestSuiteRunner
class _XMLTestResult(_TextTestResult):
    """A test result class that can express test results in a XML report.
 
    Used by XMLTestRunner.
    """

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/nose/result.py   antisocial(Download)
    from unittest.runner import _TextTestResult
except ImportError:
    from unittest import _TextTestResult
from nose.config import Config
from nose.util import isclass, ln as _ln # backwards compat
class TextTestResult(_TextTestResult):
    """Text test result that extends unittest's default test result
    support for a configurable set of errorClasses (eg, Skip,
    Deprecated, TODO) that extend the errors/failures/success triad.
    """

src/m/u/mule-HEAD/mule/runners/text.py   mule(Download)
 
from cStringIO import StringIO
from unittest import TestResult, _TextTestResult, TextTestRunner
from mule.utils.streamer import Streamer
 

src/i/n/input-lib-HEAD/packages/nose/nose/result.py   input-lib(Download)
    from unittest.runner import _TextTestResult
except ImportError:
    from unittest import _TextTestResult
from nose.config import Config
from nose.util import isclass, ln as _ln # backwards compat
class TextTestResult(_TextTestResult):
    """Text test result that extends unittest's default test result
    support for a configurable set of errorClasses (eg, Skip,
    Deprecated, TODO) that extend the errors/failures/success triad.
    """

src/i/n/input-lib-HEAD/lib/python/nose/result.py   input-lib(Download)
 
import logging
from unittest import _TextTestResult
from nose.config import Config
from nose.util import isclass, ln as _ln # backwards compat
class TextTestResult(_TextTestResult):
    """Text test result that extends unittest's default test result
    support for a configurable set of errorClasses (eg, Skip,
    Deprecated, TODO) that extend the errors/failures/success triad.
    """    

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next