test/

directory
v0.38.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0

README

Eventing Github TESTS

This directory contains tests and testing docs for Knative Eventing Github.

Running tests with scripts

Presubmit tests

presubmit-tests.sh is the entrypoint for the tests before code submission

You can run it simply with:

./test/presubmit-tests.sh

By default, this script will run build tests, unit tests and integration tests. If you only want to run one type of tests, you can run this script with corresponding flags like below:

./test/presubmit-tests.sh --build-tests
./test/presubmit-tests.sh --unit-tests
./test/presubmit-tests.sh --integration-tests

Running tests with go test command

Running unit tests

You can also use go test command to run unit tests:

go test -v ./pkg/...

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL