Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,18 @@ Acts as a wrapper around the browserstack CLI and allows the operation of the CL
##### Gradle command

`
gradle browserstackCLIWrapper -PcliCommand="browserstack-cli-command-goes-here"
gradle browserstackCLIWrapper -Pcommand="browserstack-cli-command-goes-here"
`

Example usage

```
gradle browserstackCLIWrapper -PcliCommand="app-automate espresso run -a local-path-to-app-apk -t local-path-to-test-suite-apk"
gradle browserstackCLIWrapper -Pcommand="app-automate espresso run -a local-path-to-app-apk -t local-path-to-test-suite-apk"
```

You can refer to the existing browserstack CLI documentation [here](https://www.browserstack.com/app-automate/browserstack-cli)

Any Browserstack CLI command can directly be passed to the -PcliCommand parameter and it would execute the CLI command from gradle and push the output to stdout/terminal
Any Browserstack CLI command can directly be passed to the -Pcommand parameter and it would execute the CLI command from gradle and push the output to stdout/terminal



Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'com.gradle.plugin-publish' version '0.11.0'
}

version '3.1.1'
version '3.1.2'

pluginBundle {
website = 'https://www.browserstack.com'
Expand All @@ -17,7 +17,7 @@ pluginBundle {
description = 'Runs Espresso tests on BrowserStack'
tags = ['espresso', 'test', 'browserstack', 'app', 'automate',
'app-automate', 'appautomate', 'app-live', 'applive']
version = '3.1.1'
version = '3.1.2'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ public void apply(Project project) {
"For reference on Browserstack CLI please visit https://www.browserstack.com/app-automate/browserstack-cli\n" +
"\n" +
"\n" +
"Any CLI command passed in the custom option -PcliCommand will be executed and the results will be displayed on the terminal.\n" +
"Any CLI command passed in the custom option -Pcommand will be executed and the results will be displayed on the terminal.\n" +
"\n" +
"\n" +
"For example:\n" +
"\n" +
"gradle browserstackCLIWrapper -PcliCommand=”app-automate apps”\n" +
"gradle browserstackCLIWrapper -Pcommand=”app-automate apps”\n" +
"\n" +
"The browserstack CLI command app-automate apps would run and the result will be displayed on the terminal. ");

Expand Down