This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.16.7.8. 测试报告
CNF 端到端测试会产生两个输出:一个 JUnit 测试输出和测试失败报告。
16.7.8.1. JUnit 测试输出 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
通过传递 --junit 参数和转储报告所在路径来生成兼容 JUnit 的 XML:
docker run -v $(pwd)/:/kubeconfig -v $(pwd)/junitdest:/path/to/junit -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.7 /usr/bin/test-run.sh --junit /path/to/junit
$ docker run -v $(pwd)/:/kubeconfig -v $(pwd)/junitdest:/path/to/junit -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.7 /usr/bin/test-run.sh --junit /path/to/junit