+

Search Tips | Advanced Search

Create and running your own test configuration

To have more control over the tests that are run or to include new tests that we have written, we can create and edit your own test configurations.


About this task

In a test configuration, we can select the tests that we want to run and also the objects or types of objects that we want to run the tests against. When creating a test configuration, the default set of tests is selected for the type of object from which you opened the dialog. However, we 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

  1. In the Navigator view, right-click an object or folder, then click Tests > Run Custom Test Configuration. The Run Tests Configurations dialog opens.
  2. In the Run Tests Configurations dialog, click Tests to select it. The configuration icons become available.
  3. 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.
  4. In the Name field, type a meaningful name for the new configuration.
  5. On the Tests page, select the tests, or categories of tests, to run when you run this test configuration.
  6. If we want the test configuration to automatically update when you add new tests to IBM MQ Explorer, select the Automatically include any new tests.
  7. On the Objects page, select the objects, or types of objects, to run the tests against when you run this test configuration.
  8. If we 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.
  9. Click Apply to save the new test configuration.
  10. 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. We 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.

Parent topic: Running tests


Related tasks

Last updated: 2020-10-04