github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/experiment/coverage/README.md (about) 1 # apicoverage - API coverage measuring tool 2 3 apicoverage is a tool for measuring API coverage on e2e tests 4 by comparing the e2e test log and swagger spec of k8s. 5 6 ## Usage 7 8 Run e2e tests with API operation detail(-v=8 option): 9 ``` 10 $ kubetest --test --test_args="--ginkgo.focus=\[Conformance\] -v=8" | tee api.log 11 ``` 12 Then run the tool: 13 ``` 14 $ go run apicoverage.go --restlog=api.log 15 API,TOTAL,TESTED,UNTESTED,COVERAGE(%) 16 ALL,958,69,889,7 17 STABLE,481,53,428,11 18 Alpha,98,1,97,1 19 Beta,379,15,364,3 20 ``` 21