Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

How to get standard XML junit output with spoon #141

Closed
tandroidt opened this issue Jan 9, 2017 · 4 comments
Closed

How to get standard XML junit output with spoon #141

tandroidt opened this issue Jan 9, 2017 · 4 comments

Comments

@tandroidt
Copy link

tandroidt commented Jan 9, 2017

Hi!
How can I get a standard XML junit output when using spoon?
I saw in Issue #100 ( square/spoon#100) that you added this option, but couldn't find out how to use it.
I want to use the xml output in JIRA.

Thanks!

@artem-zinnatullin
Copy link

Yes, it's in build/spoon/buildTypeFlavor/junit-reports.

@tandroidt
Copy link
Author

Thanks!
I run it on a real device, with jenkins.
So I looked for this path on the jenkins slave computer and I only have under build the "spoon-output" folder where we put the index.html file.

Do I need to use any special flag to make spoon crate the xml?
right now I run it with these command :

java -jar $SPOON_JAR --apk $APK_PATH --test-apk $TEST_APK_PATH --output $SPOON_REPORT_PATH --title "$TITLE" --class-name $TEST_SUITE_CLASS

Do I need to add anything?

Thanks!

@artem-zinnatullin
Copy link

artem-zinnatullin commented Jan 9, 2017 via email

@tandroidt
Copy link
Author

You are right, thank a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants