test-infra

module
v0.0.0-...-9cf64fb Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0

README

Knative Test Infrastructure

The test-infra repository contains a collection of tools for testing Knative, collecting metrics and displaying test results.

High level architecture

Knative uses Prow to schedule testing and update issues.

Gubernator

Knative uses gubernator to provide a PR dashboard for contributions in the Knative github organization, and Spyglass to visualize test details.

TestGrid

Knative provides a health dashboard to show test, code and release health for each repo. It covers key areas such as continuous integration, code coverage, nightly release, conformance and etc.

E2E Testing

Our E2E testing uses kubetest to build/deploy/test Knative clusters.

Directories

Path Synopsis
kntest
cmd/kntest command
pkg
git
tools
cleanup command
coverage command
coverage/artifacts
Package artifacts is responsible for generating and structuring artifacts directory
Package artifacts is responsible for generating and structuring artifacts directory
coverage/calc
Package calc calculates coverage through summarizing and also stores all the coverage structs used by or produced by the process
Package calc calculates coverage through summarizing and also stores all the coverage structs used by or produced by the process
coverage/gcs
Package gcs stores functions that relates to GCS operations, without dependency on the package calc
Package gcs stores functions that relates to GCS operations, without dependency on the package calc
coverage/str
Package str provides helper functions shared by more than one other go files
Package str provides helper functions shared by more than one other go files
coverage/testTarget/presubmit
Package presubmit serves as the target for presubmit coverage test.
Package presubmit serves as the target for presubmit coverage test.
coverage/testTarget/subPkg2
Package subPkg2 serves as the target for multi-package coverage test.
Package subPkg2 serves as the target for multi-package coverage test.
coverage/testTarget/targetPkgs_postsubmit
Package postsubmitTarget serves as the target for postsubmit coverage test.
Package postsubmitTarget serves as the target for postsubmit coverage test.
dep-collector command
githubhelper command
monitoring command

Jump to

Keyboard shortcuts

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