Remove file_generation_enabled from canarySettings. If the canarySettings field is provided with an empty object, canaries will be generated with contract_test_file_names: [input1.json] default. If canarySettings are removed from .rpdk-config, no canary generation will occur.
Improved logging will simplify debugging canary autogeneration.
Add a warning log when canarySettings are provided but empty
Add Logging at info level for skipping, starting, and finishing canary autogeneration
Add Logging at the debug level for loading contract test inputs and writing canary file outputs.
Issue #, if available:
Description of changes:
file_generation_enabled
fromcanarySettings
. If the canarySettings field is provided with an empty object, canaries will be generated withcontract_test_file_names: [input1.json]
default. If canarySettings are removed from .rpdk-config, no canary generation will occur.canarySettings
are provided but emptyinfo
level for skipping, starting, and finishing canary autogenerationdebug
level for loading contract test inputs and writing canary file outputs.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.