Did I find the right examples for you? yes no

All Samples(1399)  |  Call(1108)  |  Derive(240)  |  Import(51)
Holder for test result information.

Test results are automatically managed by the TestCase and TestSuite
classes, and do not need to be explicitly manipulated by writers of tests.

Each instance holds the total number of tests run, and collections of
failures and errors that occurred among those test runs. The collections
contain tuples of (testcase, exceptioninfo), where exceptioninfo is the
formatted traceback of the error that occurred.

src/h/u/hunch-sample-app-HEAD/django/utils/unittest/result.py   hunch-sample-app(Download)
class TestResult(unittest.TestResult):
    """Holder for test result information.
 
    Test results are automatically managed by the TestCase and TestSuite
    classes, and do not need to be explicitly manipulated by writers of tests.

src/o/h/oh-mainline-HEAD/vendor/packages/BeautifulSoup/setup.py   oh-mainline(Download)
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)

src/k/u/kuma-lib-HEAD/packages/beautifulsoup/setup.py   kuma-lib(Download)
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)

src/i/v/ivoire-0.2/ivoire/standalone.py   ivoire(Download)
from __future__ import unicode_literals
from unittest import SkipTest, TestCase, TestResult
import sys
 
import ivoire

src/i/v/Ivoire-HEAD/ivoire/standalone.py   Ivoire(Download)
from __future__ import unicode_literals
from unittest import SkipTest, TestCase, TestResult
import sys
 
import ivoire

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

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/m/y/mythbox-HEAD/resources/lib/BeautifulSoup/setup.py   mythbox(Download)
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)

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

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:

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