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

https://github.com/burhanh/automaton-v5

Automation testing framework (API) - an example. Based on Python, Unittest
https://github.com/burhanh/automaton-v5

automation python requests rest-api unittest

Last synced: 8 months ago
JSON representation

Automation testing framework (API) - an example. Based on Python, Unittest

Awesome Lists containing this project

README

          

# Automaton-v5
Automation testing framework (API) - an example. Based on Python, Unittest

[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/BurhanH/automaton-v5/blob/master/LICENSE)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/179c8d7e01a0486ebe5005e1e6183809)](https://app.codacy.com/app/BurhanH/automaton-v5?utm_source=github.com&utm_medium=referral&utm_content=BurhanH/automaton-v5&utm_campaign=Badge_Grade_Dashboard)
[![Python unittest testing](https://github.com/BurhanH/automaton-v5/actions/workflows/python-app.yml/badge.svg)](https://github.com/BurhanH/automaton-v5/actions/workflows/python-app.yml)

## Requirements
Python 3.6.\*/3.7.\*/3.8.\*, Unittest,

virtualenv (virtual environment manager)

## Project structure
```text
-- automaton-v5
|-- .gitattributes
|-- .gitignore
|-- calls.py
|-- LICENSE
|-- README.md
|-- requirements.txt
`-- tests
|-- initial.py
|-- test_api.py
```

## How to prepare environment
1) Install [Python](https://www.python.org/downloads/)
2) Install and configure [virtualenv](https://packaging.python.org/guides/installing-using-pip-and-virtualenv/)
3) Clone or copy (download) the repository into your virtual environment
4) Activate virtual environment, move to `automaton-v5` folder, and execute command `pip install -r requirements.txt`

## How to run tests
1) Open terminal window
2) Move to virtual environment folder
3) Activate virtual environment
4) Move to `automaton-v5` folder
5) Execute `python -m unittest discover tests "*.py" -v`

## Technology stack and helpful info
[Python 3.6](https://docs.python.org/3.6/) / [Python 3.7](https://docs.python.org/3.7/) / [Python 3.8](https://docs.python.org/3.8/)

[virtualenv](https://packaging.python.org/guides/installing-using-pip-and-virtualenv/)

[GitHub, cloning repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)

[unittest](https://docs.python.org/3.7/library/unittest.html)