Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

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.

  1. Complete the prerequisite tasks.
  2. Run the test extensions.
  3. Run the subset of test extensions.