# README

Example: Running container-structure-test on built images

Open in Cloud Shell

This example shows how to run structure tests on newly built images in your skaffold dev loop. Tests are associated with single artifacts, and one or more test files can be provided. Tests are configured in your skaffold.yaml in the test stanza, e.g.

test:
    - image: skaffold-example
    structureTests:
        - ./test/*

Tests can also be configured through profiles, e.g.

profiles:
  - name: test
    test:
      - image: skaffold-example
        structureTests:
          - ./test/profile_structure_test.yaml