Open ericzbeard opened 1 year ago
This command may help to reduce the verbosity to STDOUT
cfn test -- -o log_cli=True -o log_cli_level=WARN -o console_output_style=count
The options after --
are passed along to pytest when it is running the contract tests. The -o
are overrides for the pytest options defined in src/rpdk/core/data/pytest-contract.ini
Will work to further clarify logs and output
Logging needs to be improved in a few ways.
cfn test
.cfn test
in CodeBuild, the logs are difficult to read because they are designed for an interactive session. It's very hard to figure out which contract test failed, and why.