Integration Testing #2034
Replies: 2 comments
-
|
@simon-leech I don't think integration tests should be working like this. The integration test doesn't test the mapp library. Ie whether an entry module is able to process the data format or whether openlayers is able to render a style. We need test for this with controlled workspaces. Neither should the integration test be whether roles work as they are expected to work. There are seperate CLI tests for this with controlled workspaces. For me the integration test should be whether a layer configuration works. Can a geometry be requested in the right format. Does the style parser run. Does a location get request return json. Is it possible to insert a location. Modify this location, and then delete the location. Are any references fields accessible. Are any referenced templates accessible. DBS connections themselves should be tested in the CLI. It should be possible to run these test from a plugin interface for individual layers. It should be possible to run these tests for all layers in a locale. These tests should probably not run for dozens or hundreds of locales but be executed for individual locales. |
Beta Was this translation helpful? Give feedback.
-
|
Step 1: Utility - Layer
Step 2: Plugin
Step 3: Utility - Location
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Integrity Test
The integrity test forms the basis for layer/location testing on an application and can be ran either locally or on a deployed application.
Requirements
The integrity test should loop through every locale available to that user and run the tests.
The tests should attempt to do these things:
Nice to Haves
Beta Was this translation helpful? Give feedback.
All reactions