Test Suites

Alternative content

Get Adobe Flash player

It is important that your business rules are reliably tested prior to deployment and it is important that this testing process can be performed in a comprehensive, well defined and reproducible manner. The Common Knowledge Test Suite rule format provides a powerful mechanism for the representation, maintenance, execution, visualisation and reporting of business rule tests.

Overview

The Common Knowledge Test Suite rule format provides capabilities in a number of areas to enable you to implement comprehesive test sets for your business rules:

Test Integration Tests can be integrated directly into your business rule definitions
Test Structure Tests can be hierarchically structured in Test Suites, Test Folders, Test Scenarios, and Test Cases
Interactive Test Execution Tests can be executed interactively within Common Knowledge Designer

Features

The Common Knowledge Test Suite rule format incorporates a comprehensive list of features to assist during the validation of your business rules. Features include:

Hierarchical Structure Tests can be structured into a heirarchy of Test Suites, Test Folders, Test Scenarios and Test Cases
Test Scenarios Test Suites can have an arbitrary number of Test Scenarios, with each Test Scenario representing a specific aspect of testing for the Test Suite
Test Cases Test Scenarios can have an arbitrary number of Test Cases, with each test case representing a specific aspect of testing for the Test Scenario
Inputs and Verifications Test Cases can have an arbitrary number of inputs and verifications (validation of expected results)
Test Actions Each Test Scenario can have an arbitrary number of actions that are performed for each associated Test Case
Setup and Teardown Actions Test Scenarios can have an arbitrary number of Setup and Teardown actions that are performed prior to and after executing the Test Scenario respectively
Test Links Test Suites can be linked to create powerful test suite collections
Test Execution Test Suites can be executed interactively within Common Knowledge Designer
Test Results Test Suite success and failure counts are maintained and displayed including totals and sub-totals for hierarchically structured test elements
Test Durations Total and sub-total durations for each test element are shown, allowing the Test Suite to also be used for rules profiling