docs/test
Evan Anderson efa607f93e
Add a test for "index.md" frontmatter and fix the repo to match (#2377)
* Add a test for "index.md" frontmatter and fix the repo to match

* Fix trailing whitespace

* Merge and add new required index.md files.

* Clarify error message action needed

* Fix up another new sample

* Fix spacing on error message
2020-05-15 08:41:02 -07:00
..
e2e golang format tools (#1455) 2019-06-12 07:53:43 -07:00
sampleapp helloworld: go clarity tweaks and go modules for shell (#1908) 2019-10-21 15:15:25 -07:00
sampleconsistency Update Helloworld unit test error message to make it actionable (#1812) 2019-09-24 14:28:42 -07:00
site Add a test for "index.md" frontmatter and fix the repo to match (#2377) 2020-05-15 08:41:02 -07:00
OWNERS Use OWNERS_ALIASES for productivity approvers/reviewers (#1366) 2019-05-23 01:01:29 -07:00
README.md Format markdown (#626) 2018-12-04 14:34:25 -08:00
e2e-tests.sh Use knative.dev/test-infra (#1627) 2019-07-31 09:59:44 -07:00
flag.go Add unit test to make sure helloworld samples README consistent with source (#1102) 2019-03-27 19:23:51 -07:00
presubmit-link-check.sh Run markdown_build_tests directly to: (#1963) 2019-11-05 13:55:26 -08:00
presubmit-tests.sh Remove outdated TODOs (#2080) 2020-01-02 14:32:42 -08:00

README.md

Test

This directory contains tests and testing docs.

Running unit tests

TODO(#66): Write real unit tests.

Running end-to-end tests

Dependencies

You might need to install kubetest in order to run the end-to-end tests locally:

go get -u k8s.io/test-infra/kubetest

Simply run the e2e-tests.sh script, setting $PROJECT_ID first to your GCP project. The script will create a GKE cluster, install Knative, run the end-to-end tests and delete the cluster.

If you already have a cluster set, ensure that $PROJECT_ID is empty and call the script with the --run-tests argument. Note that this requires you to have Knative Build installed and configured to your particular configuration setup.


Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.