Author:halw

Date:2009-03-10T17:27:23.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@204 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2009-03-10 17:27:23 +00:00
parent bf8462164a
commit b78111f761
2 changed files with 44 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
==Introduction==
The Eiffel Testing Framework is a tool that helps you to create, manage, and run tests against your software. The Eiffel Testing Framework is accessible directly as a part of EiffelStudio, but works to a large extent behind the scenes so that it doesn't get in the way of your development activities. In other words, even though you may be accumulating a substantial collection of test software along with your project software, you can still run and deliver your project software without going to a lot of trouble separating the two. Tests managed by the Eiffel Testing Framework stay handy and can be run any time to help make sure everything always stands up to the scrutiny of testing.
The Eiffel Testing Framework is a tool that helps you to create, manage, and run tests against your software. The Eiffel Testing Framework is accessible directly as a part of EiffelStudio, but works to a large extent behind the scenes so that it doesn't get in the way of your development activities. In other words, even though you may be accumulating a substantial collection of test software along with your project software, you can still run and deliver your project software without going to a lot of trouble to separate the two. Tests managed by the Eiffel Testing Framework stay handy and can be run any time to help make sure everything always stands up to the scrutiny of testing.
This tutorial will guide you through the use of the Eiffel Testing Framework. A [[The Eiffel Testing Framework|reference section]] for the Framework is also available.

View File

@@ -20,9 +20,51 @@ When you use the Eiffel Testing Framework, you control things by using two compo
===The interface===
[[Image:Testing Framework interface after run 05]]
[[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|This section is under construction pending interface changes. }}
====Tests====
The test pane presents tests in one or more expandable tree views. The root of the tree depends 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===