This guide gives a quick overview of supported testing frameworks and available testing options for different types of apps.
- Testing of iOS apps
- Testing of Android apps
- Testing of Ionic and Cordova apps
- Testing of React Native apps
Testing of iOS apps
For iOS, Nevercode supports running any tests that are based on the XCTest
framework, including regular UI and unit testst, and KIF
tests.
We also support Appium tests written in Java, PHP or Python.
See how to set up Appium tests:
How are tests detected?
When there are tests present in your project, Nevercode detects and runs them automatically with every build. Note that the tests must be a part of your scheme in Xcode, otherwise we cannot detect and run them.
Look here for information on how to enable or disable tests.
Testing of Android apps
For Android, Nevercode supports instrumentation tests and unit tests, including Espresso, Robotium and Robolectric testing frameworks.
We also support Appium tests written in Java, PHP or Python.
See how to set up Appium tests:
How are tests detected?
We check if there are tests in
androidTest
,instrumentTest
ortest
directories of your project based on the Android Gradle plugin version specified in the project'sbuild.gradle
file. If you have overridden the default tests directory in your build script, then Nevercode will look for that.
Read more about how to enable or disable tests and define additional parameters for testing your Android app.
Testing of Ionic and Cordova apps
Hybrid apps, such as Ionic and Cordova, can be tested on Nevercode by setting up a custom test step. Take a look at our documentation on testing hybrid apps to see how to set that up.
Testing of React Native apps
Nevercode supports Jest tests out of the box for React Native. When you submit your repository, we scan the package.json
for jest
dependency. If there are any tests present, we'll run the tests for every build you make.
To use another test framework to test your React Native application, you can do that via a custom test step. Take a look at our documentation on testing hybrid apps to see how to set that up.
In case you are interested in other languages, please let us know.
Updated 11 months ago