Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.1 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.1 KB

Introduction

Test repository with test case is created and executed in TestNG Framework.

List dependency repositories

  1. test-parent-pom
  2. test-automation-fwk

Source code usage

  1. Clone repository "test-parent-pom" (mandatory)
git clone [email protected]:ndviet/test-parent-pom.git
  1. Clone this test repository to the same directory
git clone [email protected]:ndviet/test-testng-framework.git
  1. Build source code in each repository following the order
  • test-parent-pom
  • test-testng-framework
  1. Run test cases in test repository
cd test-testng-framework
mvn 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.

Reference

A sample project with entire repositories together for the test execution.