Automated testing
Overview
Consider how to write unit and integration tests as part of each code project. Consider how to integrate those tests into build and deploy pipelines.
Python
It's simple to add unit tests in Python using PyTest. This tutorial will get your started.
Once there are some tests written, a pipeline can be defined to run these tests and report results.
Sample
There's a sample in place that defines a build pipeline in the code repository as a YAML file. This pipeline references templates in the LayerScripts and TC Smart Maps folders that define how that folder is handled. The suite contains a limited set of unit tests.
https://dev.azure.com/TCOPP/EGIS/_build?definitionId=23&_a=summary
Open Questions
Should we / can we prefer TDD? Is this possible for CIs such as ARM and DSC?