mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
Author:halw
Date:2009-03-11T21:24:47.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@206 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
[[Property:title|The Eiffel Testing Framework Interface]]
|
||||
[[Property:link_title|The AutoTest Interface]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|6eec11df-9ea0-6834-d41b-a0c23b87c485]]
|
||||
{{underconstruction}}
|
||||
|
||||
|
||||
[[Image:Testing Framework interface annotated 01]]
|
||||
|
||||
|
||||
The interface consists of four primary components:
|
||||
# The toolbar
|
||||
# The view filtering controls
|
||||
# The tests view
|
||||
# The tabbed status and results reporting pane
|
||||
|
||||
==Toolbar==
|
||||
|
||||
The toolbar allows you to create new tests using the '''[[#The New Eiffel test wizard|New Eiffel test wizard]]''' and to run existing tests.
|
||||
|
||||
The '''Create new tests''' command ( [[Image:Create new tests]] ) invokes the '''New Eiffel test wizard'''.
|
||||
|
||||
The '''Run all tests in background''' command ( [[Image:debug-run-icon]] ) will, by default, run all tests. But if only certain tests are selected in the '''Tests''' list, then '''Run all tests in background''' will run only those tests. The '''Run all tests in background''' allows other options for running tests through its drop-down icon ( [[Image:toolbar-dropdown-icon]] ).
|
||||
|
||||
|
||||
[[Image:Testing Framework run all drop down]]
|
||||
|
||||
|
||||
The '''Debug all tests in EiffelStudio''' command ( [[Image:Testing Framework debug all icon]] ) functions in a similar manner to '''Run all tests in background''' with the exception that each test is paused at its starting point in the EiffelStudio debugger. '''Debug all tests in EiffelStudio''' has a drop-down icon providing the same options as '''Run all tests in background'''.
|
||||
|
||||
|
||||
[[Image:Testing Framework debug all drop down]]
|
||||
|
||||
|
||||
The '''Stop all execution''' command ( [[Image:debug-stop-icon]] ) will halt all tests which were started by the '''Run all tests in background''' or '''Debug all tests in EiffelStudio''' commands.
|
||||
|
||||
|
||||
==View Filtering==
|
||||
|
||||
{{note|The development of this section is on hold pending interface changes. }}
|
||||
|
||||
|
||||
==Tests==
|
||||
|
||||
The Tests pane presents tests in one or more expandable tree views. The structures of the trees depend upon the criteria that you have specified for organizing the view. For example, if you look at tests based on the test classes in which they exist, the structure of the tree view(s) will reflect the clusters in which the test classes exist.
|
||||
|
||||
|
||||
[[Image:Testing Framework interface test view - class]]
|
||||
|
||||
|
||||
Likewise, if you look at tests based on their target classes, the structure of the display will be based on the target classes.
|
||||
|
||||
|
||||
[[Image:Testing Framework interface test view - covers]]
|
||||
|
||||
|
||||
Tests and test classes are pickable in the Tests pane.
|
||||
|
||||
|
||||
==Status and results==
|
||||
|
||||
This pane supports a tabbed display that provides information about the execution and results of tests.
|
||||
|
||||
After execution or debugging, the tests executed and their status are shown in the '''Execution''' tab or the '''Debugging''' tab.
|
||||
|
||||
|
||||
[[Image:Testing Framework interface results - Execution]]
|
||||
|
||||
|
||||
Double clicking a test in the '''Tests''' pane will switch the '''Status and results''' pane to the '''Results''' tab. This tab shows a history or the executions and results of that particular test.
|
||||
|
||||
|
||||
[[Image:Testing Framework interface results - Results]]
|
||||
|
||||
|
||||
For failing executions, the failure code is shown, along with link to display the execution trace.
|
||||
|
||||
|
||||
[[Image:Testing Framework interface results - trace]]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
[[Property:title|The New Eiffel Test Wizard]]
|
||||
[[Property:link_title|The Eiffel Test Wizard]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|305a8288-cb6a-df2a-1515-e23138e21566]]
|
||||
{{underconstruction}}
|
||||
|
||||
|
||||
==Introduction==
|
||||
|
||||
The '''New Eiffel test wizard''' creates new tests based on information a developer enters on a series of forms. There is a different thread through these forms corresponding to each of the three test types supported by the Eiffel Testing Framework.
|
||||
|
||||
The '''New Eiffel test wizard''' is invoked by clicking the '''Create new tests''' button ( [[Image:create new tests]] ) on the Eiffel Testing Framework interface toolbar.
|
||||
|
||||
|
||||
|
||||
==The "New Eiffel test wizard" pane==
|
||||
|
||||
The first pane of the wizard allows you to choose which type of test(s) you wish to create.
|
||||
|
||||
|
||||
[[Image: New test wizard screen 01 01]]
|
||||
|
||||
|
||||
==The manual test thread==
|
||||
|
||||
Creating manual tests will involve using the following wizard panes. For a guided tour of this process, see [[Create a manual test]].
|
||||
|
||||
|
||||
===The "New test class" pane===
|
||||
|
||||
|
||||
In this pane you provide a name and cluster for the test class that will be created. You can also indicate that the created class include redefined versions of features <eiffel>on_prepare</eiffel> (called during preparation for test execution) and <eiffel>on_clean</eiffel> (called during clean-up after test execution).
|
||||
|
||||
|
||||
[[Image: New test wizard screen 02M 01]]
|
||||
|
||||
|
||||
===The "Test routine" pane===
|
||||
|
||||
This pane gives you the ability to name the test, and to associate it with certain [[Create a manual test#About tags|tags]].
|
||||
|
||||
|
||||
[[Image: New test wizard screen 03M 01]]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,61 +16,7 @@ The Eiffel Testing Framework is a facility within EiffelStudio that helps develo
|
||||
|
||||
==Components==
|
||||
|
||||
When you use the Eiffel Testing Framework, you control things by using two components: the '''interface''' and the '''New Eiffel test wizard'''. The interface is used to access, manage, execute, and monitor tests. The New Eiffel test wizard is used to help you create new tests.
|
||||
|
||||
===The interface===
|
||||
|
||||
[[Image:Testing Framework interface annotated 01]]
|
||||
|
||||
|
||||
The interface consists of four primary components:
|
||||
# The toolbar
|
||||
# The view filtering controls
|
||||
# The tests view
|
||||
# The tabbed status and results reporting pane
|
||||
|
||||
====Toolbar====
|
||||
|
||||
The toolbar allows you to create new tests using the '''[[#The New Eiffel test wizard|New Eiffel test wizard]]''' and to run existing tests.
|
||||
|
||||
The '''Create new tests''' command ( [[Image:Create new tests]] ) invokes the '''New Eiffel test wizard'''.
|
||||
|
||||
The '''Run all tests in background''' command ( [[Image:debug-run-icon]] ) will, by default, run all tests. But if only certain tests are selected in the '''Tests''' list, then '''Run all tests in background''' will run only those tests. The '''Run all tests in background''' allows other options for running tests through its drop-down icon ( [[Image:toolbar-dropdown-icon]] ).
|
||||
|
||||
|
||||
[[Image:Testing Framework run all drop down]]
|
||||
|
||||
|
||||
The '''Debug all tests in EiffelStudio''' command ( [[Image:Testing Framework debug all icon]] ) functions in a similar manner to '''Run all tests in background''' with the exception that each test is paused at its starting point in the EiffelStudio debugger. '''Debug all tests in EiffelStudio''' has a drop-down icon providing the same options as '''Run all tests in background'''.
|
||||
|
||||
|
||||
[[Image:Testing Framework debug all drop down]]
|
||||
|
||||
|
||||
The '''Stop all execution''' command ( [[Image:debug-stop-icon]] ) will halt all tests which were started by the '''Run all tests in background''' or '''Debug all tests in EiffelStudio''' commands.
|
||||
|
||||
|
||||
====View Filtering====
|
||||
|
||||
{{note|The development of this section is on hold pending interface changes. }}
|
||||
|
||||
|
||||
====Tests====
|
||||
|
||||
The Tests pane presents tests in one or more expandable tree views. The structures of the trees depend upon the criteria that you have specified for organizing the view. For example, if you look at tests based on the test classes in which they exist, the roots of the tree views will reflect the clusters in which the test classes exist.
|
||||
|
||||
Likewise, if you look at tests based on their target classes, the roots will be the clusters that include the target classes.
|
||||
|
||||
Tests and test classes are pickable in the Tests pane.
|
||||
|
||||
====Status and results====
|
||||
|
||||
|
||||
|
||||
===The New Eiffel test wizard===
|
||||
|
||||
[[Image: New test wizard screen 01 01]]
|
||||
|
||||
When you use the Eiffel Testing Framework, you control things by using two components: '''[[The Eiffel Testing Framework Interface]]''' and '''[[The New Eiffel Test Wizard]]'''. The interface is used to access, manage, execute, and monitor tests. The New Eiffel test wizard is used to help you create new tests.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user