Skip to main content

Automated Tests

Appcircle currently supports the following mobile automation testing tools:

Each service allows you to run your tests on real devices, and test scenarios can be started with the artifacts created on Appcircle. Rich reports can be managed by visiting the web site of each service.

However, if your tool supports producing the following test report formats, you can also see the test results on Appcircle. Appcircle's Test Report currently supports the following test and coverage formats:

Test Format

  • Xcode 13+ .xctest
  • JUnit .xml

Coverage Format

  • JaCoCo .xml
  • Cobertura .xml
  • Lcov lcov.info

For example, BrowserStack allows you to export test results as JUnit. You can get the results of your tests and code coverage results from BrowserStack by using a simple bash script.

curl -u "$AC_BROWSERSTACK_USERNAME:$AC_BROWSERSTACK_ACCESS_KEY" \
--output $AC_OUTPUT_DIR/myreport.xml \
-X GET "https://api-cloud.browserstack.com/app-automate/espresso/v2/builds/$BUILD_ID/sessions/$SESSION_ID/report"

info

Appcircle's BrowserStack App Automate - Espresso step already parses JUnit Test reports. The above code sample is only given as an example.

The Test Report Step only requires a path for the test and code coverage results. For the above example, it is $AC_OUTPUT_DIR/myreport.xml. If you want to see your tests results on Appcircle, you need to create compatible test and code covarage results on Appcircle.