mikelazo / AutomationProject

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automation Project

Authors

  • Rob Sarro
  • Michael Lazo

Goal

Have a working example of how a QA automation project can be deployed and executed using containers.

Technologies

  • Docker
  • Jenkins
  • Java
  • TestNG
  • Maven
  • REST Assured
  • Castle Mock

Milestones

  1. Create base API test framework with REST Assured
  2. Create a docker image with Castle Mock configured for mock server responses
  3. Create API tests
  4. Create docker image with Jenkins and jobs to execute tests
  5. Push docker images to public Docker repository
  6. Update README with prerequisites and instructions to deploy these docker containers and execute tests.

Prerequisites

  • JDK 8
  • Maven 3.6.1 or higher
  • Git
  • Docker

Running/Stopping Docker Images/Containers

Run docker images:

mvn -pl docker docker:start

Execute API tests

mvn clean test -pl api -am -Dsuite=suites/users.xml

Stop and remove docker containers:

mvn -pl docker docker:stop

About


Languages

Language:Java 100.0%