Sample project to demonstrate REST API tests written with Robot Framework with RequestsLibrary running on GitHub Actions.
To clone and run this project, you will need:
- Git(I've used version
2.34.1while writing this doc) - Python(I've used version
3.11.5while writing this doc) - Visual Studio Code(I've used version
Stable Buildwhile writing this doc) - Robot Framework Language Server Extension(Install the official extension in the Visual Studio Code)
Install the Following Libraries using the command Line:
python -m pip install -r requirements.txt
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.