Running OCL tests

In this section, you will be running OCL tests. Open the file testlib.oclx in the OCL editor if you do not already have it open.

  1. Select numberOfAttributesC1 test in the Outline view.
  2. Select Run Test(s) from the context menu.

    Run test

  3. The result of the test appears in the Outline view and the Package Explorer view.

    Test result

In addition to running a test as described above you can also:

Related reference