This is a template for make API tests using the Robot Framework creating a tests suite.
MIT License
This is a template for make api tests using Robot Framework creating tests suite.
To install this project you can clone it and go to step 2. Or use the commands below:
npm install rest_api_test_automation_template
1.1 Extract the test project from the node_modules folder and save it in your preferred location.
This project ** requires Robot Framework installed **. Install the Robot using the steps below.
2.1. Install Python 3
https://www.python.org/downloads/
2.2. Install Robot Framework
pip3 install robotframework
2.3. Install HTTP Requests Library
pip3 install -U requests
pip3 install -U robotframework-requests
robot -d ./logs tests
robot -d ./logs tests/feature_name
-d ./logs
for organize log files.Below is a list of the files by directory.
Directory | Files in folder |
---|---|
config |
config_name.robot All files used to configure your Robot tests, such as tokens and more. |
libs |
lib_name.py all Python files used to provide support in tests. |
common |
common_filename.robot All common codes used to make requests. |
tests |
feature/suite_tests_name.robot All tests files. |
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
git checkout -b feature/amazing-feature
)git add .
)git commit -m 'feat(package-filename>): Inserting a Amazing Feature !
)git push origin feature/amazing-feature
)Distributed under the MIT license. See LICENSE
for more information.
Yury Alencar - Github - [email protected]