docs/test
Ray Tsang c60d695a02 rename hellworld-java to helloworld-java-spring (#1185)
* rename hellworld-java to helloworld-java-spring

* updated sampleapp test

* Updated sample test app tmp directory

* Renamed service name and instructions to reflect helloworld-java-spring
2019-04-23 09:18:29 -07:00
..
e2e Add unit test to make sure helloworld samples README consistent with source (#1102) 2019-03-27 19:23:51 -07:00
sampleapp rename hellworld-java to helloworld-java-spring (#1185) 2019-04-23 09:18:29 -07:00
sampleconsistency Add unit test to make sure helloworld samples README consistent with source (#1102) 2019-03-27 19:23:51 -07:00
OWNERS Remove bobcatfish from OWNERS (#84) 2018-07-10 09:48:39 -07:00
README.md Format markdown (#626) 2018-12-04 14:34:25 -08:00
e2e-tests.sh Add generic e2e test base for sample apps (#1057) 2019-03-25 13:50:50 -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-tests.sh Disable markdown link checks (#773) 2019-01-15 16:55:30 -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.