/
Unit Test component
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
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” />
, multiple selections available,
Related content
Running tests
Running tests
More like this
Step 1: Unit testing
Step 1: Unit testing
More like this
Step 1: Structure of an Innomatic application
Step 1: Structure of an Innomatic application
More like this
Components
Components
More like this
Step 4: The Innomatic Container
Step 4: The Innomatic Container
More like this
Step 2: The application.xml file
Step 2: The application.xml file
More like this