Skip to content

Latest commit

 

History

History
145 lines (90 loc) · 2.99 KB

README.md

File metadata and controls

145 lines (90 loc) · 2.99 KB

ROBOTFRAMEWORK API FOR STUDIES


SERVREST API CI

Repository with examples of automated tests for API (Rest) using the robotframeworks and others libs:

  • robot
  • requests
  • faker

The RobotFramework is a generic open source automation framework. It can be used for test automation and robotic process automation: GET TO KNOW ROBOT

Note: The other libs included are for API testing and using fake data:


Context table

Index README.


Prerequisites


Configurations

  • Use makefile commands, for example:
    $ make clean
    $ make install

Installation

Clone project

  • Clone this project using ssh or https.

example:

$ git clone https://github.com/uLucasFraga/robot_api_for_studies.git
  • Install all dependencies via requirements.txt:

example:

$ cd /robot_api_for_studies && make install

Tips

  • Use your requirements.txt to add or remove libs

How to test

To install repo dependencies:

$ make install

To run all regression tests

$ make run-regression

Tested endpoints

All features tested:

  • Login
  • Usuários
  • Produtos
  • Carrinhos

Report

To generate reports:

$ make run-regression

To generate reports without the makefile command:

$ robot -d ./log .

To delete logs and other files considered temporary:

$ make clean

Support


License

License