Commit Graph

13 Commits

Author SHA1 Message Date
Davanum Srinivas
d1c948acdc
Add support for listing conformance tests
we print yaml, so you can use yaml tools like `yq`:
```
e2e.test --list-conformance-tests | yq r - --collect *.testname
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:53 -04:00
Jefftree
074a676dbc kubetestgen -> kubeconform 2020-03-25 14:37:09 -07:00
Jefftree
77edd42619 Add CLI script for listing untested conformance behaviors 2020-03-25 14:37:09 -07:00
John Schnake
2683b1065c Update the conformance list and doc generation logic
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>
2020-02-24 14:00:44 -08:00
Jefftree
da4b0b0fa1 Validation for behaviors 2020-02-04 10:45:53 -08:00
Jefftree
fd7eaffd99 kubetestgen implementation 2019-11-08 15:40:22 -08:00
Aaron Crickenberger
27d215c58f Change BUILD to remove e2e_node as a reference 2018-08-07 10:44:03 -07:00
Jeff Grafton
ef56a8d6bb Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
Srini Brahmaroutu
fa51acbda3 Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00
Jeff Grafton
efee0704c6 Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
xiangpengzhao
6318fcca85 Update BUILD file to include e2e_node tests 2017-11-17 17:28:29 +08:00
Matt Liggett
6096d9d4a1 update-bazel 2017-10-27 15:31:29 -07:00
Matt Liggett
fad431118a Add conformance test regression test.
This test creates a golden list of existing conformance tests.  Efforts
to add or remove conformance tests will require you to rebuild the
golden list, and changes to the golden list will be reviewed by
sig-architecture.
2017-10-27 15:31:20 -07:00