Skip to content

Commit e745b18

Browse files
committed
updated gradle task name
1 parent 6968912 commit e745b18

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Master branch contains **Selenium 3** samples, for **Selenium 4 - W3C protocol**
1616

1717
### Running your tests
1818

19-
- To run local tests, run `mvn test -P local`
20-
- To run the test suite having cross-platform with parallelization, run `mvn test -P parallel`
19+
- To run local tests, run `mvn test -P sample-local-test`
20+
- To run the test suite having cross-platform with parallelization, run `mvn test -P sample-test`
2121

2222
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
2323

@@ -32,8 +32,8 @@ Master branch contains **Selenium 3** samples, for **Selenium 4 - W3C protocol**
3232

3333
### Running your tests
3434

35-
- To run local tests, run `gradle localTest`
36-
- To run the test suite having cross-platform with parallelization, run `gradle parallelTest`
35+
- To run local tests, run `gradle sampleLocalTest`
36+
- To run the test suite having cross-platform with parallelization, run `gradle sampleTest`
3737

3838
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
3939

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ tasks.withType(JavaCompile) {
2121
options.encoding = 'UTF-8'
2222
}
2323

24-
task parallelTest(type: Test) {
24+
task sampleTest(type: Test) {
2525
useTestNG() {
2626
dependsOn cleanTest
2727
useDefaultListeners = true
28-
suites "config/parallel.testng.xml"
28+
suites "config/sample-test.testng.xml"
2929
}
3030
}
3131

32-
task localTest(type: Test) {
32+
task sampleLocalTest(type: Test) {
3333
useTestNG() {
3434
dependsOn cleanTest
3535
useDefaultListeners = true
36-
suites "config/local.testng.xml"
36+
suites "config/sample-local-test.testng.xml"
3737
}
3838
}

0 commit comments

Comments
 (0)