Skip to content

Defining a Test Suite

Jim Kring edited this page Oct 19, 2018 · 4 revisions

A test suite is a session of tests which contain assertions. Caraya automatically creates an unnamed suite if no explicitly defined, but using the "Define Test Suite" methods allow the developer to configure the suite to a non-default state.

Test Suite Palette

Starting in version 0.6.0, the Test Suite palette is composed of a Polymorphic "Define Test Suite" method and a "Destroy Test Suite" method. Defining a Test Suite currently comes in three flavors:

Test Suites

Define Test Suite

The default "Define Test Suite" exposes a TestReport class terminal. If unwired, no reports are configured and results will be displayed only on the Test Manager UI (if interactive = True).

Default Suite

Selecting the SimpleText report or a JUnit XML report and wiring a valid path will generate a report of the selected type when the tests complete.

SimpleText JUnit XML