Test plugin

This plugin is used to run different kinds of tests on any instance.

  • Core
  • Integrity

To provide test params to the plugin you can provide a test object to a locale.

"test": {
  "options": { <-- Options passed to the runWebTestFunction
    "quiet": true, <-- will only show errors (Defaults to false)
    "showSummary": true, <-- will show a summary (Default to false)
  }
},

To run the different tests you can provide the test param as part of the url params.

eg.

/?test=core - run the core front end tests /?test=integrity - run the integrity tests

TODO: The current core & integrity tests are going to be restructured and reinvisioned in the next iteration.

Methods

(inner) integrityTests(mapview) → {void}

Runs the integrityTests

Parameters:
NameTypeDescription
mapviewObject

The mapview object.

Returns:
Type: 
void

(inner) test(plugin, mapview) → {void}

Adds the core & integrity tests to the mapp.plugins object to be run on a workspace.

Parameters:
NameTypeDescription
pluginObject

The plugin configuration object.

mapviewObject

The mapview object.

Returns:
Type: 
void

Test plugin

This plugin is used to run different kinds of tests on any instance.

  • Core
  • Integrity

To provide test params to the plugin you can provide a test object to a locale.

"test": {
  "options": { <-- Options passed to the runWebTestFunction
    "quiet": true, <-- will only show errors (Defaults to false)
    "showSummary": true, <-- will show a summary (Default to false)
  }
},

To run the different tests you can provide the test param as part of the url params.

eg.

/?test=core - run the core front end tests /?test=integrity - run the integrity tests

TODO: The current core & integrity tests are going to be restructured and reinvisioned in the next iteration.

Methods

(inner) integrityTests(mapview) → {void}

Runs the integrityTests

Parameters:
NameTypeDescription
mapviewObject

The mapview object.

Returns:
Type: 
void

(inner) test(plugin, mapview) → {void}

Adds the core & integrity tests to the mapp.plugins object to be run on a workspace.

Parameters:
NameTypeDescription
pluginObject

The plugin configuration object.

mapviewObject

The mapview object.

Returns:
Type: 
void