Current Page: NeXtMidas Training Primitives Test Macros Creating a Test Macro
- - | Creating a test macro: Test macros go in the `test` area of the option tree.
    Naming Convention | `test_<command>.mm`
    Example (for `NOOP`) | `test_noop.mm`
  - - Test macros are always unconfigured. To run it manually:
          nM> home test <opt>
          nM> %test_<command>
    - Can also be run via confidence:
          nM> confidence <opt>
          nM> confidence/interactive <opt>
  - Test macros make extensive use of the ASSERT command.
        ASSERT/text="<msg>" <test>
        ASSERT/text="File size is 100" fileSize EQ 100