Skip to content

Commit 375c5dc

Browse files
authored
Merge pull request #20 from rachit-lambdatest/main
Updating readme
2 parents 4872b28 + a8e61ff commit 375c5dc

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ apply plugin: "io.github.lambdatest.gradle"
2727
2828
```
2929
### Add LambdaTest parameters to `build.gradle`:
30+
#### Configuration for running test and optionally uploading your apps
31+
3032
```
3133
runLambdaTest {
3234
username = 'yourLambdaTestUsername'
@@ -39,12 +41,25 @@ runLambdaTest {
3941
testSuiteId = "lt//1223444" //provide this only if you have already uploaded the app
4042
}
4143
```
44+
45+
#### Configuration for only uploading your apps
46+
47+
```
48+
uploadApkToLambdaTest {
49+
username = 'yourLambdaTestUsername'
50+
accessKey = 'yourLambdaTestAccessKey'
51+
appFilePath = 'pathToYourAppFile'
52+
testSuiteFilePath = 'pathToYourTestSuite'
53+
}
54+
```
55+
56+
4257
### Supported Capabilities:
4358

4459
The following capabilities are supported:
4560

46-
- `app`: Enter the app id generated while uploading the app. Example:lt://APP123456789123456789
47-
- `testSuite`: Enter the test suite id generated while uploading the test suite. Example: lt://APP123456789123456789
61+
- `appId`: Enter the app id generated while uploading the app. Example:lt://APP123456789123456789
62+
- `testSuiteId`: Enter the test suite id generated while uploading the test suite. Example: lt://APP123456789123456789
4863
- `device`: Enter the name and os version of the device in “DeviceName-OSVersion” format. Example: Pixel 3 XL-9 or Galaxy S21 Ultra 5G-11.
4964
- `video`: Generate video for all the tests that have run. Example: true.
5065
- `queueTimeout`: Enter the time in seconds after which you want your build to timeout from queue. Example: 300.
@@ -54,12 +69,23 @@ The following capabilities are supported:
5469
- `geoLocation`: Set the geolocation country code if you want to enable the same in your test. Example - FR.
5570
- `tunnel`, `tunnelName`: Set tunnel as true and provide the tunnelName such as NewTunnel as needed if you are running a tunnel.
5671

72+
- `appFilePath` : Path of your app file (this will be uploaded to LambdaTest)
73+
74+
- `testSuiteFilePath` : Path of your test suite apk file (this will be uploaded to LambdaTest)
75+
5776
## Execution:
58-
To run the plugin added in the project's `build.gradle`:
77+
#### To run the test with the plugin added in the project's `build.gradle`:
5978
```
6079
./gradlew runLambdaTest
6180
```
6281

82+
#### If you just want to upload apks and not run actual tests:
83+
84+
```
85+
./gradlew uploadApkToLambdaTest
86+
```
87+
88+
6389
## About LambdaTest
6490

6591
[LambdaTest](https://www.lambdatest.com/) is a cloud based selenium grid infrastructure that can

0 commit comments

Comments
 (0)