An open API service indexing awesome lists of open source software.

https://github.com/pceuropa/test-rest-api

Python and Pytest for automated testing of RESTful APIs
https://github.com/pceuropa/test-rest-api

acceptance-testing api falcon flask pyhon3 pyramid pytest python request rest-api test-driven-development tests

Last synced: 27 days ago
JSON representation

Python and Pytest for automated testing of RESTful APIs

Awesome Lists containing this project

README

        

# Test-rest-api
A command-line tool based on python3 and pytest for testing of RESTful APIs.

Requirements
------------
Python 3.6+
pytest
inotifywait - to automatic tests

Instalation
---------------
```
pip3 install -U pytest
```

Tests manual
---------------
```
pytest -v tests.py
```

Tests automatic
---------------
Runner run test every saves
```
./test_runner.sh
```

![run command api test](https://pceuropa.net/blog/wp-content/uploads/2018/12/test-api.png "Terminal example")