docs/test
Roland Huß c14f768971
Reworked shell hello world example (#2832)
* Change event type in Sequence with Broker example (#2897) (#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>

* Reworked shell hello world example

* Reworked example to be a "true" shell example that is considerable different than the helloworld-go example
* Added examples for kn usage

(Fixed according to review comments)

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
2020-11-06 07:53:07 -08:00
..
e2e Remove unnecessary occurrences of whitelist and master. (#2799) 2020-09-10 02:09:51 -07:00
sampleapp Reworked shell hello world example (#2832) 2020-11-06 07:53:07 -08:00
sampleconsistency Reworked shell hello world example (#2832) 2020-11-06 07:53:07 -08:00
site Use knative.dev/hack repo (#2977) 2020-10-28 13:14:34 -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/hack repo (#2977) 2020-10-28 13:14:34 -07:00
flag.go Remove unnecessary occurrences of whitelist and master. (#2799) 2020-09-10 02:09:51 -07:00
presubmit-link-check.sh Use knative.dev/hack repo (#2977) 2020-10-28 13:14:34 -07:00
presubmit-tests.sh Use knative.dev/hack repo (#2977) 2020-10-28 13:14:34 -07: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.