Module implementing the UI to the pyunit package.
None |
QtTestResult | A TestResult derivative to work with a graphical GUI. |
UnittestDialog | Class implementing the UI to the pyunit package. |
UnittestWindow | Main window class for the standalone dialog. |
None |
A TestResult derivative to work with a graphical GUI.
For more details see pyunit.py of the standard python distribution.
None |
None |
QtTestResult | Constructor |
addError | Public method called if a test errored. |
addExpectedFailure | Public method called if a test failed expected. |
addFailure | Public method called if a test failed. |
addSkip | Public method called if a test was skipped. |
addUnexpectedSuccess | Public method called if a test succeeded expectedly. |
startTest | Public method called at the start of a test. |
stopTest | Public method called at the end of a test. |
None |
Constructor
Public method called if a test errored.
Public method called if a test failed expected.
Public method called if a test failed.
Public method called if a test was skipped.
Public method called if a test succeeded expectedly.
Public method called at the start of a test.
Public method called at the end of a test.
Class implementing the UI to the pyunit package.
None |
None |
UnittestDialog | Constructor |
__UTPrepared | Private slot to handle the utPrepared signal. |
__setProgressColor | Private methode to set the color of the progress color label. |
__setRunningMode | Private method to set the GUI in running mode. |
__setStoppedMode | Private method to set the GUI in stopped mode. |
__showSource | Private slot to show the source of a traceback in an eric6 editor. |
hasFailedTests | Public method to check, if there are failed tests from the last run. |
insertProg | Public slot to insert the filename prog into the testsuitePicker object. |
insertTestName | Public slot to insert a test name into the testComboBox object. |
keyPressEvent | Protected slot to handle key press events. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_errorsListWidget_currentTextChanged | Private slot to handle the highlighted signal. |
on_errorsListWidget_itemDoubleClicked | Private slot called by doubleclicking an errorlist entry. |
on_startButton_clicked | Private slot to start the test. |
on_stopButton_clicked | Private slot to stop the test. |
on_testsuitePicker_aboutToShowPathPickerDialog | Private slot called before the test suite selection dialog is shown. |
on_testsuitePicker_editTextChanged | Private slot to handle changes of the test file name. |
on_testsuitePicker_pathSelected | Private slot called after a test suite has been selected. |
testErrored | Public method called if a test errors. |
testFailed | Public method called if a test fails. |
testFailedExpected | Public method called if a test fails expectedly. |
testFinished | Public method called if a test has finished. |
testSkipped | Public method called if a test was skipped. |
testStarted | Public method called if a test is about to be run. |
testSucceededUnexpected | Public method called if a test succeeds unexpectedly. |
None |
Constructor
Private slot to handle the utPrepared signal.
If the unittest suite was loaded successfully, we ask the client to run the test suite.
Private methode to set the color of the progress color label.
Private method to set the GUI in running mode.
Private method to set the GUI in stopped mode.
Private slot to show the source of a traceback in an eric6 editor.
Public method to check, if there are failed tests from the last run.
Public slot to insert the filename prog into the testsuitePicker object.
Public slot to insert a test name into the testComboBox object.
Protected slot to handle key press events.
Private slot called by a button of the button box clicked.
Private slot to handle the highlighted signal.
Private slot called by doubleclicking an errorlist entry.
It will popup a dialog showing the stacktrace. If called from eric, an additional button is displayed to show the python source in an eric source viewer (in erics main window.
Private slot to start the test.
Private slot to stop the test.
Private slot called before the test suite selection dialog is shown.
Private slot to handle changes of the test file name.
Private slot called after a test suite has been selected.
Public method called if a test errors.
Public method called if a test fails.
Public method called if a test fails expectedly.
Public method called if a test has finished.
Note: It is also called if it has already failed or errored.
Public method called if a test was skipped.
Public method called if a test is about to be run.
Public method called if a test succeeds unexpectedly.
Main window class for the standalone dialog.
None |
None |
UnittestWindow | Constructor |
eventFilter | Public method to filter events. |
None |
Constructor
Public method to filter events.