Skip to content

Commit

Permalink
Added TestNG config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 9, 2019
1 parent 267b858 commit 1ea99bc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ dependencies {
}

test {
useTestNG()
useTestNG() {
suites 'src/test/resources/testng.xml'
}
}

compileJava {
Expand Down
9 changes: 9 additions & 0 deletions src/test/resources/testng.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="tests">
<test name="full">
<packages>
<package name="net.thauvin.erik.mobibot.*"/>
</packages>
</test>
</suite>

0 comments on commit 1ea99bc

Please sign in to comment.