Running MUnit Test

In this section, you will learn how to use the MUnit test framework to run MUnit test and investigate test results. To get started with running MUnit tests refer to the MUnit Test Launcher chapter.

Running test using MUnit test launcher

  1. Activate Magik editor which contains as_environment_var_test class source code.

    Run As MUnit Test action

    In the editor:

  2. Go to MUnit view to inspect the test result.

    Test failed


    View indicates that one test case has been run and the test failed.

Reruning the test

  1. Change the test to remove failure:
  2. Go to MUnit view again to inspect the test result.

    Test succeeded


    View indicates that one test case has been run and the test succeeded.

Related concepts

Test Case

Related reference

MUnit test launcher