Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 4 additions & 23 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,16 @@ _build:

# Test

This directory contains tests and testing docs.
This directory contains repository tests and presubmit helpers.

- [Unit tests](#running-unit-tests) currently reside in the codebase alongside
the code they test
- [End-to-end tests](#running-end-to-end-tests)
## Running Go 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:
From the repository root:

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

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
Expand Down
36 changes: 0 additions & 36 deletions test/e2e-tests.sh

This file was deleted.

19 changes: 0 additions & 19 deletions test/e2e/main.go

This file was deleted.

Loading