From a9206d9992a38e0b2b8a1123c5faf7c5b866c652 Mon Sep 17 00:00:00 2001 From: Christie Wilson Date: Thu, 21 May 2020 18:04:17 -0400 Subject: [PATCH] =?UTF-8?q?Add=20table=20of=20contents=20to=20test=20READM?= =?UTF-8?q?E=20=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's some good stuff in this doc but it's hard to remember what's in it cuz it's kinda all over the place - maybe a TOC will help! --- test/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/README.md b/test/README.md index e6bc5c3c49b..2bbb82f09da 100644 --- a/test/README.md +++ b/test/README.md @@ -13,6 +13,23 @@ go test ./... go test -v -count=1 -tags=e2e -timeout=20m ./test ``` +* [Unit tests](#unit-tests) + * [Unit testing controllers](#unit-testing-controllers) +* [End to end tests](#end-to-end-tests) + * [Setup](#setup) + * [Running](#running) + * [Flags](#flags) + * [Running specific test cases](#running-specific-test-cases) + * [Running example yaml tests](#running-example-yaml-tests) + * [Running upgrade tests](#running-upgrade-tests) + * [Adding integration tests](#adding-integration-tests) + * [Create Tekton objects](#create-tekton-objects) + * [Get access to client objects](#get-access-to-client-objects) + * [Generate random names](#generate-random-names) + * [Poll pipeline resources](#poll-pipeline-resources) +* [Presubmit tests](#presubmit-tests) + * [Running presubmit integration tests](#running-presubmit-integration-tests) + ## Unit tests Unit tests live side by side with the code they are testing and can be run with: