conformance

command
v1.11.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

This directory contains the regression test for controlling the list of all conformance tests.

If you add or remove a conformance test, this test will fail and you will need to update the golden list of tests stored in testdata/. Changes to that file require review by sig-architecture.

To update the list, run

$ bazel build //test/conformance:list_conformance_tests
$ cp bazel-genfiles/test/conformance/conformance.txt test/conformance/testdata

Add the changed file to your PR, then send for review.

Documentation

Overview

Package main provides a tool that scans kubernetes e2e test source code looking for conformance test declarations, which it emits on stdout. It also looks for legacy, manually added "[Conformance]" tags and reports an error if it finds any.

This approach is not air tight, but it will serve our purpose as a pre-submit check.

Jump to

Keyboard shortcuts

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