Problem:
With the TESTCOVER directive set and the TESTCOVER environment variable set to the location of the test coverage config file no tcz file was produced.
Resolution:
This was caused by the TESTCOVER directivebeing set in user environment variables.
The program was running in the context of a Windows Service. The environment variable therefore needs to be set as a system environment variable.