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 installClone 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 installTips
- Use your requirements.txt to add or remove libs
To install repo dependencies:
$ make installTo run all regression tests
$ make run-regressionAll features tested:
- Login
- Usuários
- Produtos
- Carrinhos
To generate reports:
$ make run-regressionTo generate reports without the makefile command:
$ robot -d ./log .To delete logs and other files considered temporary:
$ make clean-
Linkedin: Lucas Fraga
-
E-mail: lucass.fragaa@gmail.com
- MIT license
- Copyright 2022 © Lucas Fraga