![]() The existing walk.go and conformance.txt have a few shortcomings which we'd like to resolve: - difficult to get the full test name due to test context nesting - complicated AST logic and understanding necessary due to the different ways a test can be invoked and written This changes the AST parsing logic to be much more simple and simply looks for the comments at/around a specific line. This file/line information (and the full test name) is gathered by a custom ginkgo reporter which dumps the SpecSummary data to a file. Also, the SpecSummary dump can, itself, be potentially useful for other post-processing and debugging tasks. Signed-off-by: John Schnake <jschnake@vmware.com> |
||
---|---|---|
.. | ||
behaviors | ||
kubetestgen | ||
testdata | ||
BUILD | ||
cf_header.md | ||
conformance_test.sh | ||
doc.go | ||
OWNERS | ||
README.md | ||
walk_test.go | ||
walk.go |
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.yaml test/conformance/testdata
Add the changed file to your PR, then send for review.