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:
Index
README
.
- Use makefile commands, for example:
$ make clean
$ make install
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
To install repo dependencies:
$ make install
To run all regression tests
$ make run-regression
All features tested:
- Login
- Usuários
- Produtos
- Carrinhos
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
-
Linkedin: Lucas Fraga
-
E-mail: [email protected]
- MIT license
- Copyright 2022 © Lucas Fraga