Trying Robot Framework with PokéAPI.
This repository has been archived on 2025年12月08日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
| resources | Add a resource file with common variables | |
| tests | Add a resource file with common variables | |
| .gitignore | Add the README and .gitignore | |
| README.md | Add the README and .gitignore | |
Trying Robot Framework with PokéAPI
Robot Framework
Install Robot Framework and some dependencies for this project:
pip install robotframework
pip install robotframework-requests
The Robot Framework Language Server extension for VSCodium works really well. There are other Robot Framework extensions for it but I haven't tried them.
Allure reports
https://allurereport.org/docs/robotframework/
Install the Allure listener:
pip install allure-robotframework
Then, install or download Allure itself: https://allurereport.org/docs/install/.
I could not install the RPM package in my Fedora toolbox because of this error:
error: Failed dependencies:
default-jre-headless is needed by allure-0:2.29.0-1.noarch
Both java-17-openjdk-headless and java-17-openjdk are installed.
Instead, I used the executable in the tgz archive.
To generate the reports, I ran:
robot --listener allure_robotframework tests
path/to/allure generate --single-file --clean output/allure/
The --single-file flag builds a single HTML file that can be opened and navigated with a web browser, without the need to serve it with an HTTP server.