Test extensions in Commerce Manager
Test extensions in Commerce Manager
Elastic Path provides automated tests to ensure the smooth implementation of Elastic Path Commerce Manager when you extend or alter the functionality. These tests ensure that the existing functionalities do not fail when you add new functionalities by changing or extending code. Elastic Path recommends configuring tests for extended functionality in a separate module at extensions/cm/ext-cm-modules/ext-system-tests. Before building tests in the extensions/cm/ext-cm-modules/ext-system-tests module, you must build the default system tests at extensions/cm/ext-cm-modules/system-tests.
Use this procedure to set up extension tests in your local development environment.
- Complete the prerequisite tasks.
- Run the test extensions.
- Run the subset of test extensions.