Unit Test component

A unit test is a PHPUnit test file.

Unit test components are used when running tests.

Definition

  • Component type: unittest
  • Priority: 0
  • Tenant aware: no
  • Overridable: yes

API

Parameters

  • name: path of the unit test file

Placement

Unit test files are placed in:

  • Application archive: core/classes
  • Innomatic: innomatic/core/classes

Definition

Example definition in setup/application.xml:

<unittest name=“innomatic/core/tests/RootContainerTest.php” />