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

add example compatible with -> https://github.com/report-ci/ #212

Closed
Milerius opened this issue Mar 24, 2019 · 8 comments
Closed

Comments

@Milerius
Copy link

Hello, may be i'm missing something but i'm not able to make doctest work with report-ci with the new xml reporter, is this junit format right ?

@onqtam
Copy link
Member

onqtam commented Mar 24, 2019

No, it's not. jUnit/xUnit were left for a future version - contributions are welcome! Or perhaps in a few months once I get some free time again.

I'm linking the old reporter issue which I closed because of some links: #138 (comment)

@Milerius
Copy link
Author

Oh glad to read this issue, I think that we can ask report-ci if we can have a doctest compatibility ! I will keep you in touch ! Thanks a lot

@onqtam
Copy link
Member

onqtam commented Mar 24, 2019

I wrote them an email at [email protected] 22 days ago asking if XML report is enough and still no response. Hope you have better luck!

@Milerius
Copy link
Author

Milerius commented Mar 24, 2019

We can probably open an issue on the github -> https://github.com/report-ci/scripts

If it's possible to have the sample.xml that you send by mail with all explanation, i can open the issue following your email message ([email protected]) for my email

@onqtam
Copy link
Member

onqtam commented Mar 24, 2019

report-ci/scripts#2

@Milerius
Copy link
Author

Thanks a lot

@klemens-morgenstern
Copy link

Sorry about the lost mail, I'll check the servers ASAP.

I think we'll have doctest added within 2-3 weeks.

@klemens-morgenstern
Copy link

Done, can be closed.

Here's the code in the travis yaml https://github.com/report-ci/doctest/blob/travis/.travis.yml#L350

and in bash

my_test --reporters=xml --out=my_test.xml
# Only looks for xml files!
curl https://report.ci/upload.py | python 

and here's the result: https://github.com/report-ci/doctest/runs/87455527

Btw. I normally build the example by having correct tests in the master and a PR from a branch with broken tests like here

@onqtam onqtam closed this as completed May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants