Skip to content

WillCoutinho/bank-account-automation-with-restassured

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bank Accounts Automation with Rest-Assured Framework

Walkthrough to install, set up and run the scenarios with Rest-Assured framework. Used in this project Rest-Assured, JUnit5, Maven and Hamcrest for assertions.

Scenarios for the API Seu Barriga's Bank Accounts.

Requirements for Windows 10

Install the latest Java JDK and search for Start Menu > Type 'Environment' > click on 'Edit Environment Variables' > Environment Variables.

Oracle Guide: Enviroment Variables

  • Create a new user variable called JAVA_HOME and set the path that Java were installed;
  • Create a new variable at Path adding the value %JAVA_HOME%\bin.

Download Apache Maven, unzip at any folder (e.g.: /Downloads). Create a new variable at Path and set the path that Apache Maven were unzipped (e.g.: C:\apache-maven-{version.number}\bin)

Maven installation guide: Installing Apache Maven

Install the latest GIT to clone the repository.

Requirements for Linux (Ubuntu)

Install the latest Java JDK, create environment variable JAVA_HOME and set the path that Java were installed.
Set the folder \bin in Path environment.

Oracle guide to config Java path on Linux Enviroment Variables

Download Apache Maven and unzip in a folder.
Set the folder \bin in Path environment

Maven installation guide: Installing Apache Maven

Install GIT: sudo apt install git

Clone the Repository and Install Packages

In your terminal (with admin privileges), run this command to clone project, install all dependencies and run the tests

git clone https://github.com/WillCoutinho/bank-account-automation-with-restassured && cd bank-account-automation-with-restassured && mvn install 

To run the suite tests use the command: mvn test

Git Repository

GitHub: Bank Accounts Automation with Rest-Assured Framework

Packages

About

API test automation with Rest-Assured framework (Java)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages