From b624d75b18b6644adb1e783e1032cbf74da409e7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Wed, 1 Jul 2015 16:11:59 +1200 Subject: Update documentation --- .../testtools.tests.test_runtest.TestRunTest.html | 687 +++++++++++++++++++++ 1 file changed, 687 insertions(+) create mode 100644 apidocs/testtools.tests.test_runtest.TestRunTest.html (limited to 'apidocs/testtools.tests.test_runtest.TestRunTest.html') diff --git a/apidocs/testtools.tests.test_runtest.TestRunTest.html b/apidocs/testtools.tests.test_runtest.TestRunTest.html new file mode 100644 index 0000000..c742bda --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.TestRunTest.html @@ -0,0 +1,687 @@ + + + + + testtools.tests.test_runtest.TestRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_caseUndocumented
Methodtest___init___shortUndocumented
Methodtest__init____handlersUndocumented
Methodtest__init____handlers_last_resortUndocumented
Methodtest_run_with_resultUndocumented
Methodtest_run_no_result_manages_new_resultUndocumented
Methodtest__run_core_calledUndocumented
Methodtest__run_prepared_result_does_not_mask_keyboardUndocumented
Methodtest__run_user_calls_onExceptionUndocumented
Methodtest__run_user_can_catch_ExceptionUndocumented
Methodtest__run_prepared_result_uncaught_Exception_raisedUndocumented
Methodtest__run_prepared_result_uncaught_Exception_triggers_errorUndocumented
Methodtest__run_user_uncaught_Exception_from_exception_handler_raisedUndocumented
Methodtest__run_user_returns_resultUndocumented
Methodtest__run_one_decorates_resultUndocumented
Methodtest__run_prepared_result_calls_start_and_stop_testUndocumented
Methodtest__run_prepared_result_calls_stop_test_alwaysUndocumented
+ +

+ Inherited from TestCase: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableexception_handlersExceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.
Instance Variableforce_failureForce testtools.RunTest to fail the test after the +test has completed.
Class Variablerun_tests_withA factory to make the RunTest to run tests with. +Defaults to RunTest. The factory is expected to take a test case +and an optional list of exception handlers.
Method__init__Construct a TestCase.
Method__eq__Undocumented
Method__repr__Undocumented
MethodaddDetailAdd a detail to be reported with this test's outcome.
MethodgetDetailsGet the details dict that will be reported with this test's outcome.
MethodpatchMonkey-patch 'obj.attribute' to 'value' while the test is running.
MethodshortDescriptionUndocumented
MethodskipTestCause this test to be skipped.
MethodaddCleanupAdd a cleanup function to be called after tearDown.
MethodaddOnExceptionAdd a handler to be called when an exception occurs in test code.
MethodassertEqualAssert that 'expected' is equal to 'observed'.
MethodassertInAssert that needle is in haystack.
MethodassertIsNoneAssert that 'observed' is equal to None.
MethodassertIsNotNoneAssert that 'observed' is not equal to None.
MethodassertIsAssert that 'expected' is 'observed'.
MethodassertIsNotAssert that 'expected' is not 'observed'.
MethodassertNotInAssert that needle is not in haystack.
MethodassertIsInstanceUndocumented
MethodassertRaisesNo summary
MethodassertThatAssert that matchee is matched by matcher.
MethodaddDetailUniqueNameAdd a detail to the test, but ensure it's name is unique.
MethodexpectThatCheck that matchee is matched by matcher, but delay the assertion failure.
MethoddefaultTestResultUndocumented
MethodexpectFailureCheck that a test fails in a particular way.
MethodgetUniqueIntegerGet an integer unique to this test.
MethodgetUniqueStringGet a string unique to this test.
MethodonExceptionCalled when an exception propogates from test code.
MethodrunUndocumented
MethoduseFixtureUse fixture in a test case.
MethodsetUpUndocumented
MethodtearDownUndocumented
Method_formatTypesFormat a class or a bunch of classes for display in an error.
Method_add_reasonUndocumented
Method_matchHelperUndocumented
Static Method_report_errorUndocumented
Static Method_report_expected_failureUndocumented
Static Method_report_failureUndocumented
Static Method_report_skipUndocumented
Method_report_tracebackUndocumented
Static Method_report_unexpected_successUndocumented
Method_run_setupRun the setUp function for this test.
Method_run_teardownRun the tearDown function for this test.
Method_get_test_methodUndocumented
Method_run_test_methodRun the test method for this test.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + make_case(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___short(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__init____handlers(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__init____handlers_last_resort(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_with_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_no_result_manages_new_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_core_called(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_prepared_result_does_not_mask_keyboard(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_user_calls_onException(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_user_can_catch_Exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_prepared_result_uncaught_Exception_raised(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_prepared_result_uncaught_Exception_triggers_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_user_uncaught_Exception_from_exception_handler_raised(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_user_returns_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_one_decorates_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_prepared_result_calls_start_and_stop_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__run_prepared_result_calls_stop_test_always(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file -- cgit v1.2.1