Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Dec 12, 2024
1 parent b595800 commit 03c02dc
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions visual-espresso/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Sauce Labs Visual for Espresso

Sauce Labs Visual for Espresso exposes Sauce Labs Visual Testing for your Android apps.

## Installation & Usage

View installation and usage instructions on the [Sauce Docs website](https://docs.saucelabs.com/visual-testing/integrations/espresso/).

## Building

Sauce Visual Java SDK uses [Gradle](https://gradle.org/).

`gradlew` binary, that is included in the source, can be used as a replacement if you don't have Maven.

You'll also need [Android command line tools](https://developer.android.com/tools/).

It can be setup either using [Android Studio](https://developer.android.com/studio) or using [homebrew](https://formulae.brew.sh/cask/android-commandlinetools).

```sh
./gradlew build
```

## Running the tests

To run the smoke test you'll need a running Android Emulator.

You can either start an emulator from Android Studio or using [command line](https://developer.android.com/studio/run/emulator-commandline).

Then you can run the smoke test using the following command. Make sure that SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables
are in place before running the test.

```sh
./gradlew connectedAndroidTest
```

0 comments on commit 03c02dc

Please sign in to comment.