/test-testng-framework

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

Primary LanguageJavaApache License 2.0Apache-2.0

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 git@github.com:ndviet/test-parent-pom.git
  1. Clone this test repository to the same directory
git clone git@github.com: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.