Test repository with test case is created and executed in TestNG Framework.
- Clone repository "test-parent-pom" (mandatory)
git clone [email protected]:ndviet/test-parent-pom.git- Clone this test repository to the same directory
git clone [email protected]:ndviet/test-testng-framework.git- Build source code in each repository following the order
- test-parent-pom
- test-testng-framework
- Run test cases in test repository
cd test-testng-frameworkmvn test -DskipTests=false -Dincludes="EasyUpload_io.xml"
mvn test -DskipTests=false -Dincludes="OnlyTestingBlog.xml"
mvn test -DskipTests=false -Dincludes="DemoQA_Download.xml"Noted:
- [includes] property is used to provide Test Suite xml file would be executed.
A sample project with entire repositories together for the test execution.