Skip to content

Latest commit

 

History

History
 
 

README.md

Test apps

This experimental directory contains apps that are used to smoke test Firebase Android projects.

Prerequisites

Setup

  • At the root of the firebase android sdk repo, run the following command to publish all repos to the build dir.

    ./gradlew publishAllToBuildDir
    
  • From the firebase console for your project, create four Android apps with the following package names

    com.google.firebase.testapps.database
    com.google.firebase.testapps.storage
    com.google.firebase.testapps.functions
    com.google.firebase.testapps.firestore
    
  • Download the google-services.json and copy into the /test-apps directory

  • Start the android emulator

  • From the /test-apps dir, run the tests

    ./gradlew connectedReleaseAndroidTest -PfirebaseProjectId=<your_project_id> -PfirebaseToken=<your_firebase_token> -Pm2Repository=${PWD}/../build/m2repository/