dylan
08/09/2024, 8:02 AMBitrise
? I'm trying to add my test junit xml files to the test reports on Bitrise but somehow it refuses to find them.
I'm running a gradlew runner step to run the unit test task. I tried running the Exports test results to Test Reports addon
which basically copies only 1 xml file to the test report directory but gradle generates multiple xml files. So I treid the other documented way which is a custom script to copy all the xml files to the test result directory, which it does but then the upload steps says Collecting test results... No test results found
. I want to use the custom script solution since I also want to upload screenshots which bitrise should support according to the docs. The other option is merging all junit xmls into one but I don't see a gradle task for that and only found some custom solutions Like using Ant in gradle or some shell scripts using regex to copy xml to a single fileChrimaeon
08/09/2024, 8:24 AMhttps://kotlinlang.slack.com/files/U01HMQ42G1Y/F07GABTBXLL/image_from_ios.jpg▾
Elliot Murray
08/09/2024, 10:59 AM