Skip to content

JarDeVSon/RESTAPI-Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API Robot Framework

Sample project to demonstrate REST API tests written with Robot Framework with RequestsLibrary running on GitHub Actions.

Pre-requirements

To clone and run this project, you will need:

Installation

Install the Following Libraries using the command Line:

  • python -m pip install -r requirements.txt

Running the tests

In this project, you can run tests via CLI in both environments with the flag -v generate the reports with the flag -d and pass the path to suite tests Tests/*.robot for example, the suite chosen was Tests/TC.robot:

  • to run DEV python -m robot -d reports -v ENVIRONMENT:dev Tests/TC.robot
  • to run HOM python -m robot -d reports -v ENVIRONMENT:hom Tests/TC.robot

Made with ❤️ by Jardeson Santos. Meu Linkedin.