https://github.com/nattatorn-dev/robot-framework-recipe
https://github.com/nattatorn-dev/robot-framework-recipe
api-testing automation-testing robotframework testing typescript unit-testing
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nattatorn-dev/robot-framework-recipe
- Owner: nattatorn-dev
- Created: 2021-07-24T10:55:13.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T06:27:13.000Z (over 3 years ago)
- Last Synced: 2025-03-29T05:38:08.076Z (3 months ago)
- Topics: api-testing, automation-testing, robotframework, testing, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 286 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README #

Robot Framework API automation example
### How do I get set up? ###
* Install [Python 3](https://python.org/)
* Clone or download this repository
* Using the command line navigate in to the project folder and execute the command ```pip install -r requirements.txt``` this will install robot framework and the required supporting library's and their dependenciesOnce everything has been installed you can run the test suite from the command line in the projects folder with the command```robot api.robot```
By default it will run on the live site on the web, this can be changed at the command line to point to a local instance of restfulbooker by running ```robot -v BASE_URL:127.0.0.1:80 api.robot``` or changing the ${BASEURL} variable in the api.robot file
#### RUN
```sh
robot -v ENV:local testcases/
```
#### Run Only Sanity Testing
```sh
robot -v ENV:local -i sanity testcases/
```#### Docker Compose
```sh
docker-compose up -d --build
``````sh
docker-compose up -d
```