Closed Kmohamed closed 7 years ago
this is my command: pxctest run-tests --destination 'name=iPhone 5,os=iOS 9.3' --destination 'name=iPhone 5,os=iOS 10.1' --testrun build/Products/iphonesimulator10.1-i386.xctestrun --output $CIRCLE_TEST_REPORTS/xcode/uitest_results.xml
I've never used Circle CI myself. But I found some documentation on how to collect test metadata here:
http://circleci.com/docs/1.0/test-metadata/
Maybe that will help you. pxctest
will generate some JUnit report(s) inside the output
directory. Just look for them there and you will find them.
You could also run this command locally and then see how the files look like that were generated when using --output
. It does create a directory structure with a couple of files in it. This is why --output $CIRCLE_TEST_REPORTS/xcode/uitest_results.xml
does not work for you as expected.
Thanks 👍
You're welcome 👍 .
I use --output command to output
pxctest
result to circle CI but I want the JUnit file to be passed to Circle CI