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.
- Source
- Source
Methods
(inner) integrityTests(mapview) → {void}
Runs the integrityTests
Name | Type | Description |
---|---|---|
mapview | Object | The mapview object. |
- Source
- Type:
- void
(inner) test(plugin, mapview) → {void}
Adds the core & integrity tests to the mapp.plugins object to be run on a workspace.
Name | Type | Description |
---|---|---|
plugin | Object | The plugin configuration object. |
mapview | Object | The mapview object. |
- Source
- Type:
- void