File tree Expand file tree Collapse file tree
java/com/browserstack/examples/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11target
22build
3+ reports
34.gradle
45.idea
56* .iml
1415* .prefs
1516* .DS_Store *
1617.DS_Store
17- .project
18+ .project
Original file line number Diff line number Diff line change @@ -53,18 +53,10 @@ version = '0.0.1-SNAPSHOT'
5353description = ' browserstack-examples-cucumber-testng'
5454java. sourceCompatibility = JavaVersion . VERSION_1_8
5555
56- publishing {
57- publications {
58- maven(MavenPublication ) {
59- from(components. java)
60- }
61- }
62- }
63-
6456tasks. named(' test' ) {
6557 useTestNG() {
6658 suites ' src/test/resources/conf/testng.xml'
6759 parallel = ' methods'
68- threadCount = 30
60+ threadCount = 20
6961 }
7062}
Original file line number Diff line number Diff line change 2525 */
2626@ CucumberOptions (
2727 features = "classpath:features" ,
28- glue = "com.browserstack.examples.stepdefs"
28+ glue = "com.browserstack.examples.stepdefs" ,
29+ plugin = {
30+ "pretty" ,
31+ "html:reports/tests/cucumber/html" ,
32+ "timeline:reports/tests/cucumber/timeline" ,
33+ "junit:reports/tests/cucumber/junit/cucumber.xml" ,
34+ "testng:reports/tests/cucumber/testng/cucumber.xml" ,
35+ "json:reports/tests/cucumber/json/cucumber.json"
36+ }
2937)
3038public class RunWebDriverCucumberTests {
3139
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
3- <suite name =" BDD Test Suite" verbose =" 1" thread-count = " 20 " parallel = " methods " data-provider-thread-count = " 20 " >
3+ <suite name =" BDD Test Suite" verbose =" 1" >
44 <test name =" Cucumber Tests" >
55 <classes >
66 <class name =" com.browserstack.examples.tests.RunWebDriverCucumberTests" />
You can’t perform that action at this time.
0 commit comments