* initial move over * Fix up index page names * Add version variables * Escape macro syntax * Automatic fixups with mkhugo * Drop no-longer-needed excludes * Rename more _index files * Move broker-configmaps.md a README.md avoids a directory with no index/readme * Autogenerate Eventing nav * Fix markdown * Update Serving nav * Add h1 headers Makes things look nicer in github, and makes search work more accurately in mkdocs * Unexclude all samples * Correct client link * Fix gitignore, skip hugo tests |
||
---|---|---|
.. | ||
e2e | ||
sampleapp | ||
sampleconsistency | ||
site | ||
OWNERS | ||
README.md | ||
e2e-tests.sh | ||
flag.go | ||
presubmit-link-check.sh | ||
presubmit-tests.sh |
README.md
_build | ||||
---|---|---|---|---|
|
Test
This directory contains tests and testing docs.
- Unit tests currently reside in the codebase alongside the code they test
- End-to-end tests
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.