To have more control over the tests that are run or to include new tests that you have
written, you can create and edit your own test configurations.
About this task
In a test configuration, you can select the tests that you want to run and also the objects or
types of objects that you want to run the tests against. When you create a test configuration, the
default set of tests is selected for the type of object from which you opened the dialog. However,
you can change this selection and also add other types of object to the test configuration.
To create and run your own test configuration, complete the following steps.
Procedure
- In the Navigator view, right-click
an object or folder, then click .
The Run Tests Configurations dialog
opens.
- In the Run Tests Configurations dialog,
click Tests to select it.
The
configuration icons become available.
-
In the Run Tests Configurations dialog, click New
to create a test configuration. The default set of tests for the object or folder from which you
opened the dialog is already selected in the new test configuration.
A new test configuration is added to the navigation tree. For example, if you opened the
Run Tests Configurations dialog from Q1 queue on the QM1 queue manager, the
Queues and Triggering categories of tests are already selected in the new test configuration; these
tests are set to run only against queues on the QM1 queue manager.
- In the Name field, type a meaningful
name for the new configuration.
- On the Tests page, select the tests,
or categories of tests, to run when you run this test configuration.
-
If you want the test configuration to automatically update when you add new tests to IBM® MQ Explorer, select the Automatically include any new
tests.
- On the Objects page, select the
objects, or types of objects, to run the tests against when you run
this test configuration.
-
If you want the test configuration to automatically update when you add new types of object
definitions to IBM MQ Explorer, select the
Automatically include any new objects.
- Click Apply to save the new test
configuration.
- Click Run to run the new test configuration.
While the tests are running, click Run in Background on
the progress bar to run the tests in the background while you continue
working.
Results
When the test run has finished, a confirmation message
is displayed. You can switch off this confirmation message in the Preferences dialog.
The first time that you run any tests, the Test Results view opens within
the IBM MQ Explorer window. The test results are displayed in
the Test Results view.