stanfy / spoon-gradle-plugin

Gradle plugin for Spoon.
Apache License 2.0
353 stars 79 forks source link

How to get standard XML junit output with spoon #141

Closed tandroidt closed 7 years ago

tandroidt commented 7 years ago

Hi! How can I get a standard XML junit output when using spoon? I saw in Issue #100 ( https://github.com/square/spoon/issues/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 commented 7 years ago

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

tandroidt commented 7 years ago

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 commented 7 years ago

Looks like you're not using Gradle Plugin in which repo you've created issue, you're launching Spoon jar manually so you need to check Spoon repo issues instead.

On Mon, Jan 9, 2017, 19:01 tandroidt notifications@github.com wrote:

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!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/stanfy/spoon-gradle-plugin/issues/141#issuecomment-271324253, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7B3LaTQQhhDzunyBZva4Y4bxaEVh26ks5rQlnCgaJpZM4LeOlX .

tandroidt commented 7 years ago

You are right, thank a lot!