Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Quality

Robert Clegg edited this page Nov 27, 2018 · 1 revision

Quality

Coding Standards

DITTO uses Flake8 and PyLint for static code analysis and PyTest for unit tests.

Security

All code must have the ability to be made open-source, and so no credentials should be stored in the code base.

Testing

Due to the nature of the system requiring external components (e.g. S3 interface) some of the integration and system testing will have to be run manually, but they will still be based on scripts.

As much effort as possible should be made to automate unit, integration and system testing. The DITTO code base includes a system test set up in Python to automatically provision a local system and run system tests against it. The system tests use a given/when/then structure to allow non-developers to write the system tests (whereby the steps are filled in by a developer).