Define tests

Next, you will create a test definition in the config file

Adding test definition

  1. Define a test called mytest and provide a value for the template key.

  2. Specify template path relative to your project root, which is templates/lab1.template.yaml

At this point, your .taskcat.yml file should look like below.

project:
  name: cfn-project
tests:
  mytest:
    template: templates/lab1.template.yaml