Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Google test XML Report #7

Closed
petermla opened this issue Jan 9, 2019 · 2 comments
Closed

Support for Google test XML Report #7

petermla opened this issue Jan 9, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@petermla
Copy link

petermla commented Jan 9, 2019

I have tested testsphinx-test-reports with Google test XML Report and I get some errors.
As far as i can tell, google uses more XML tags as your test sample xml_data_2.xml (one and multiple with ). I have deleted the extra tags and have produced a Sphinx output.

Is the Google test XML Report something that will be supported in future or am i doing something wrong?

Example:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="40" failures="0" disabled="0" errors="0" timestamp="2019-01-07T14:21:56" time="0.047" name="AllTests">
<testsuite name="testsuite1" tests="1" failures="0" disabled="0" errors="0" time="0">
<testcase name="testsuite1case1" status="run" time="0" classname="testsuite1" />
</testsuite>
<testsuite name="testsuite2" tests="8" failures="0" disabled="0" errors="0" time="0">
<testcase name="testsuite2case1" status="run" time="0" classname="testsuite2" />
<testcase name="testsuite2case2" status="run" time="0" classname="testsuite2" />
<testcase name="testsuite2case3" status="run" time="0" classname="testsuite2" />
</testsuite>
</testsuites>

@danwos
Copy link
Member

danwos commented Jan 9, 2019

Thanks for your feedback regarding the Google test XML Report.
Do be honest I haven't used the Google Test till now and would need some time to dive deeper and understand their output format.
But it is absolutely planned to support different "dialects" of junit xml output format.

So if you have any further information or some specification about the used format by google test, this would be really helpful.
Or you may be able to upload a xml-file generated with google test.

@danwos danwos added the enhancement New feature or request label Jan 9, 2019
@danwos danwos self-assigned this Jan 9, 2019
@danwos
Copy link
Member

danwos commented Aug 27, 2019

Should be fixed with #9.
As I'm not using Google test, I'm unable to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants