Skip to content

Examples that showcase TestFairy usage in an Android instrumentation test

License

Notifications You must be signed in to change notification settings

testfairy-blog/TestFairyInstrumentationExamples

Repository files navigation

TestFairyInstrumentationExamples

This repository showcases TestFairy usage in an Android instrumentation test.

Following examples are provided:

You can find the companion docs and blog post here.

Installation

  1. Add these to app/build.gradle
dependencies {
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    androidTestImplementation 'testfairy:testfairy-android-sdk:1.+@aar'
}
  1. Copy these into your project.
  2. Modify ExampleTestBase.java to set your app token.

It is advised that you should consider these files not as dependencies but as starting points for your custom use cases. Therefore, further modifications to the contents of these files are highly encouraged. We'd love it if you sent a pull requests with suggestions and bugfixes.

About

Examples that showcase TestFairy usage in an Android instrumentation test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages