Package tlib :: Package base :: Module PytestTester :: Class PytestTester
[hide private]
[frames] | no frames]

Class PytestTester

source code

object --+
         |
        PytestTester
Known Subclasses:

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]
 
log(self, request, test_logger) source code
 
ignore_windows_GPF_dialog(self)
Ignores the GPF dialog when a windows application crashes so that the test can continue when...
source code
 
initialize_PytestTester_class(self, request, test_logger, tlib_logger) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  test_logger = None
  tlib_logger = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

log(self, request, test_logger)

source code 
Decorators:
  • @pytest.fixture(scope= 'function', autouse= True)

ignore_windows_GPF_dialog(self)

source code 

Ignores the GPF dialog when a windows application crashes so that the test can continue when
    the intention is that the application crashes

Decorators:
  • @pytest.fixture()

initialize_PytestTester_class(self, request, test_logger, tlib_logger)

source code 
Parameters:
  • test_logger (logging)
  • tlib_logger (logging)
  • request (FixtureRequest)
Decorators:
  • @pytest.fixture(scope= 'class', autouse= True)