Index: src/mapservice/codegen/code_generator
===================================================================
--- src/mapservice/codegen/code_generator	(revision 5c9c24749986dcbc6e8d7597d3dfe3d0e00dc625)
+++ src/mapservice/codegen/code_generator	(revision f61d16dca169fde5664167625559dbb0a3208b22)
@@ -62,4 +62,9 @@
 echo 'pip install $@' >> "${TOX_INSTALL_COMMAND}"
 chmod 0755 "${TOX_INSTALL_COMMAND}"
+# create coverage configuration
+COVERAGERC_FILE="${SRC_GEN}/.coveragerc"
+echo "[run]" >> "${COVERAGERC_FILE}"
+echo "branch = True" >> "${COVERAGERC_FILE}"
+echo "omit = *test*" >> "${COVERAGERC_FILE}"
 
 # create MANIFEST.in to package openapi-spec and templates
