kubernetes-sigs / kubetest2

Kubetest2 is the framework for launching and running end-to-end tests on Kubernetes.
Apache License 2.0
326 stars 104 forks source link

Junit report format is not correct #262

Open mingyuanzhu opened 3 months ago

mingyuanzhu commented 3 months ago

Hello, I just run some tests and found the junit_runner.xml like below

<?xml version="1.0" encoding="UTF-8"?><testsuite name="kubetest2" failures="0" tests="3" time="153.538090723">
    <testcase name="Up" classname="kubetest2" time="29.50215694"></testcase>
    <testcase name="Test" classname="kubetest2" time="110.282175451"></testcase>
    <testcase name="Down" classname="kubetest2" time="13.753654012"></testcase>
</testsuite>

When I processed it by the standard Junit tools with error. Reference this artical Junit report format I think there are some elements testsuites missing. I am not sure this is by design or is it a bug?

mingyuanzhu commented 3 months ago

@upodroid Could you help to take a look?

k8s-triage-robot commented 2 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale