OpenStructure
Data Structures | Public Member Functions
XMLTestRunnerTest Class Reference

Inherits TestCase.

Data Structures

class  NullStream
 

Public Member Functions

def setUp (self)
 
def test_no_tests (self)
 
def test_success (self)
 
def test_failure (self)
 
def test_error (self)
 
def test_stdout_capture (self)
 
def test_stderr_capture (self)
 
def test_unittests_changing_stdout (self)
 
def test_unittests_changing_stderr (self)
 

Detailed Description

Definition at line 234 of file xmlrunner.py.

Member Function Documentation

◆ setUp()

def setUp (   self)

Definition at line 236 of file xmlrunner.py.

◆ test_error()

def test_error (   self)
Regression test: Check whether a test run with a erroneous test
matches a previous run.

Definition at line 310 of file xmlrunner.py.

◆ test_failure()

def test_failure (   self)
Regression test: Check whether a test run with a failing test
matches a previous run.

Definition at line 293 of file xmlrunner.py.

◆ test_no_tests()

def test_no_tests (   self)
Regression test: Check whether a test run without any tests
matches a previous run.

Definition at line 265 of file xmlrunner.py.

◆ test_stderr_capture()

def test_stderr_capture (   self)
Regression test: Check whether a test run with output to stderr
matches a previous run.

Definition at line 343 of file xmlrunner.py.

◆ test_stdout_capture()

def test_stdout_capture (   self)
Regression test: Check whether a test run with output to stdout
matches a previous run.

Definition at line 327 of file xmlrunner.py.

◆ test_success()

def test_success (   self)
Regression test: Check whether a test run with a successful test
matches a previous run.

Definition at line 278 of file xmlrunner.py.

◆ test_unittests_changing_stderr()

def test_unittests_changing_stderr (   self)
Check whether the XMLTestRunner recovers gracefully from unit tests
that change stderr, but don't change it back properly.

Definition at line 376 of file xmlrunner.py.

◆ test_unittests_changing_stdout()

def test_unittests_changing_stdout (   self)
Check whether the XMLTestRunner recovers gracefully from unit tests
that change stdout, but don't change it back properly.

Definition at line 364 of file xmlrunner.py.


The documentation for this class was generated from the following file: