Testing - GeoSmartCity-CIP/gsc GitHub Wiki

Testing strategy in GSC

In order to ensure the quality of the delivered code and make it possible a sustainable development pace, we consider the following types of tests:

Unit testing

Ensure components are being properly developed.

  • Client side:
    • javascript: jasmine, grunt (for automation), node.js
  • Server side:
    • java: junit
    • python: py.test

Integration tests:

Ensure components integrate as expected.

Any unit test suite of above may be used (jasmine, py.test)) Also Postman can be considered to make integration tests of services.

UI tests / Smoke tests

Ensure that the application is working for basic user journeys.

Toolset for web based clients:

  • Selenium drivers (Python or javascript if unavoidable).
  • Testing framework (py.test or jasmine).

Mobile?

Executing tests

At least unit tests will be executed automatically upon commit to the develop and master branches.