File tree 3 files changed +23
-2
lines changed
3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ Setup your machine.
22
22
#### Running tests
23
23
`` Note: `` For 2nd & 3rd steps, you need to follow this way ``` OpenTerminal/CMD -> cd <change-to-project-location> ```
24
24
1 . You can run the tests directly from the IntelliJ, by right-clicking and ** Run test** .
25
- 2 . For Linux/Mac users: ``` gradle clean build runTests ```
26
- 3 . For Windows users: ``` gradlew clean build runTests ```
25
+ 2 . For Linux/Mac users: ``` gradle clean build runTests ``` or ``` gradle clean build test ```
26
+ 3 . For Windows users: ``` gradlew clean build runTests ``` or ``` gradlew clean build test ```
27
27
28
28
---
29
29
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
2
+ <suite name =" Suite" parallel =" classes" thread-count =" 5" >
3
+ <test name =" All Chapter Tests" >
4
+ <classes >
5
+ <class name =" Chapters.Chapter01.FirstChapterTests" />
6
+ <class name =" Chapters.Chapter02.SecondChapterTests" />
7
+ <class name =" Chapters.Chapter03.ThirdChapterTests" />
8
+ <class name =" Chapters.Chapter04.FourthChapterTests" />
9
+ <class name =" Chapters.Chapter05.FifthChapterTests" />
10
+ </classes >
11
+ </test >
12
+ </suite >
Original file line number Diff line number Diff line change @@ -25,3 +25,12 @@ task runTests(type: Test) {
25
25
}
26
26
}
27
27
28
+ test {
29
+ useTestNG {
30
+ suites ' Tests.xml'
31
+ }
32
+ testLogging {
33
+ events ' passed' , ' skipped' , ' failed'
34
+ }
35
+ }
36
+
You can’t perform that action at this time.
0 commit comments