Xray-App / tutorial-java-cucumber

Tutorial for Cucumber using Java integrated with Xray and Jira
6 stars 15 forks source link

Question: Is it possible to integrate test execution when using cucumber android Junit test runner #6

Open shrubom opened 2 months ago

shrubom commented 2 months ago

Hi, @bitcoder

I am trying to import the test execution results for cucumber android Junit test runner. I am unable to do so. Is there any tips and tricks to achieve this ? May be a sample I can refer to ?

Thank you.

bitcoder commented 2 months ago

I don't have a recent example for Android but the flow should be the same as you have in this tutorial. I think you should be able to use JUnit 4 or 5 with android along with the cucumber framework in order to generate a cucumber Json report. As last resource, you can always generate a JUnit xml report if you just need to have high level visibility of the test result (without the step level info nation)

shrubom commented 1 month ago

Thank you so much for the advice :) I will keep you posted once I come right.