mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-04-05 17:49:26 +02:00
Author:halw
Date:2009-02-26T18:44:19.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@198 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -28,6 +28,12 @@ If you want to remove a whole test set, then [[Removing a class|delete the class
|
||||
|
||||
==Using Views and Filters==
|
||||
|
||||
Views and Filters are provided to help view, manage, and run the tests in a test suite.
|
||||
|
||||
Views control ''how'' the view of tests is organized in the Eiffel Testing Framework interface. You can display tests organized by the test classes that contain them, by the classes they target, by their type, by their most recent results, or by any system you set up using a system of [[Create a manual test#About tags|tags]].
|
||||
|
||||
Filters control ''which'' tests are displayed in the Eiffel Testing Framework interface.
|
||||
|
||||
===The View box===
|
||||
|
||||
The View box on the Eiffel Testing Framework can be used to display tests by different criteria. However, the workings of the View box deserve some explanation. If you just try to use View without any background knowledge, you may find it non-intuitive.
|
||||
@@ -36,7 +42,7 @@ It is important to bear in mind that the View box works with the system of [[Cre
|
||||
|
||||
When the View box is displaying a set of tests, the "root" tag(s) for the sub tree of tests is what is visible in the View box. Let's look at some examples.
|
||||
|
||||
If the view box is empty, it will display all tests, accessible through all root tags. So, using the example we built in the preceding sections, if we just select the blank choice for the View box, here's what we see:
|
||||
If the view box is empty, it will display tests accessible through all root tags. So, using the example we built in the preceding sections, if we just select the blank choice for the View box, here's what we see:
|
||||
|
||||
|
||||
[[Image:Testing Framework interface View box 01]]
|
||||
@@ -112,11 +118,17 @@ and in the synthesized test which targets <code>{BANK_ACCOUNT}.withdraw</code> w
|
||||
<code>
|
||||
testing: "my_tag_1/my_tag_1_2/my_tag_1_2_1"
|
||||
</code>
|
||||
As soon as we compile and look at the View box, we see that the root for our new tag shows up. And if we expand it completely, we find the test that we tagged.
|
||||
As soon as we compile and set the View box to blank to show all tag roots, we see that the root for our new tag root shows up in the list:
|
||||
|
||||
|
||||
[[Image:Testing Framework interface View box 07]]
|
||||
|
||||
|
||||
If we expand the tag root '''my_tag_1''' completely, we see our tests arranged according to their values for this tag root:
|
||||
|
||||
|
||||
[[Image:Testing Framework interface View box 08]]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user