Skip to content

Latest commit

 

History

History
 
 

integration

Run Prow integration tests

Run everything

This script would setup the environment, run all the available integration tests, and then cleans up everything.

./prow/test/integration/integration-test.sh

Setup

./prow/test/integration/integration-test.sh setup

Run test

After prow is installed on top of the local cluster, run the integration tests under test directory

Optional parameters:

./prow/test/integration/integration-test.sh run [--test_filter=TestHook] [--cache_test_results=no]

Cleanup

Delete the local cluster and the local registry.

./prow/test/integration/integration-test.sh teardown

Add new integration tests

Add new components

(Assume the component to be added is named most-awesome-component)

Add new tests

Tests are implemented in Go, located at test directory.

  • [If this is a new component] Create a file called most-awesome-component_test.go
  • Add test in most-awesome-component_test.go