Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.6 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.6 KB

License: MIT

test-automation-project

A simple testng automation project to write tests with only TestNG features - (No Selenium/RestAssured/Apache HTTP Client support for initial version)

Pre-requisites

  • JDK 11+ (Optional - SDKMAN - to manage multiple versions of Java) SDKMAN
  • Maven > 3.x.x onwards
  • Any IDE for development (IntelliJ/Eclipse,..)
  • Node Js (> 16.x onwards) (Optional - NVM - to manage multiple versions of NodeJs) nvm
  • Allure CommandLine

Clone and Build from Source

Build from the Command Line To compile, test, and build

  1. Clone the repository from GitHub:
$ git clone [email protected]:DineshKuppan/test-automation-project.git
$ cd test-automation-project
  1. The project uses Maven to build:
$ mvn clean package -DskipTests

Alternative

Install the test-automation-project in you local Maven repository ($HOME/.m2 or $USER_PROFILE/.m2) directory.

$ mvn clean install -DskipTests

Running from the Command Line

mvn clean test -Dtest=com.bytes2gram.framework.test.CalculatorTest

How to view allure report ?

Note: Install the allure commandline to generate and view the report in browser

allure serve target/allure-results

Sample Allure Report

Allure Report