Test Case/en

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen

Test cases are the elements of test plans. They are added to a test plan by dragging an action into the plan's item list. You can also use the copy-paste function via the right-button menu or keyboard shortcuts.

Any action (textual/eleemntary and compound) can be put into a test plan's list. Although we recommend wrapping single elementary actions into a compound; this makes debugging easier, as you can then place a breakpoint or additional trace actions more easily.

If the test case action has input pins, values for them are provided by the test plan. Thus, an action can be used in multiple scenarios possibly with different input values.

Typical Scenario[Bearbeiten]

The following screenshots demonstrate how a test case is added to a test plan:


Creating the Test Plan[Bearbeiten]

Select the "New Test Plan" menu function

Select the "New Testplan" menu function. In a real world example, you should give it a proper name. Be reminded, that you can define multiple test plans in a suite and also import them from a library.

New test plan shown

Once created, the test plan editor at the right is showing the test plan's attributes (scroll the right bottom pane down to see them all). Initially, the list of test cases is empty.

The next step is to define a test action...

Defining a Test Action[Bearbeiten]

Select the "New Compound Action" menu function
New compound action shown

Making it a Test Case[Bearbeiten]

TestCaseExample5.png

Adding a Parameter[Bearbeiten]

TestCaseExample6.png

Reusing with Different Parameters[Bearbeiten]



Copyright © 2014-2024 eXept Software AG