Implementing automated testing for BlackBerry
BlackBerry Dynamics SDKincludes the
BlackBerry DynamicsAutomated Test Support Library (ATSL) to support automated testing for your
BlackBerry Dynamicsapps. The library is delivered as binary libraries: a
Javalibrary (.jar) and an
The library includes helper functions for testing common user interactions in
BlackBerry Dynamicsapps, such as activation and authorization. The configuration and structure of the library is compatible with the native
AndroidTesting Support Library. It makes use of the following components:
For more information about these components and the
AndroidTesting Support Library, see Android Studio: Test your app.
You can use the
BlackBerry Dynamicslibrary, the native library components mentioned above, and
Gradleand JUnit tools to automate the building, execution, and reporting of your application tests.
BlackBerry DynamicsATSL is delivered as binary libraries, you cannot make your own changes to it. If you want to review the implementation and customize it, you can see the source in
Javalibrary for the
BlackBerry DynamicsATSL is located in the sub-directory dynamics_sdk/libs/common/atsl. The
Androidlibrary for the ATSL is located in the sub-directory dynamics_sdk/m2repository/com/blackberry/blackberrydynamics/atsl. If you use the
Android SDKManager to install the
BlackBerry Dynamics SDK, the libraries are located under the
Androidhome directory at ANDROID_HOME/extras/good/dynamics_sdk/.