Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adiralashiva8/robotframework-historic
Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.
https://github.com/adiralashiva8/robotframework-historic
flask-application historical-data listener mysql report robotframework
Last synced: about 2 months ago
JSON representation
Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.
- Host: GitHub
- URL: https://github.com/adiralashiva8/robotframework-historic
- Owner: adiralashiva8
- License: mit
- Archived: true
- Created: 2020-01-20T17:15:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-28T15:42:26.000Z (over 2 years ago)
- Last Synced: 2024-07-09T13:16:39.288Z (2 months ago)
- Topics: flask-application, historical-data, listener, mysql, report, robotframework
- Language: JavaScript
- Homepage: https://rfhistoric.netlify.com/
- Size: 3.27 MB
- Stars: 80
- Watchers: 9
- Forks: 16
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-robotframework - robotframework-historic
README
# robotframework-historic
> MYSQL + Flask + Robotframework
![PyPI version](https://badge.fury.io/py/robotframework-historic.svg)
[![Downloads](https://pepy.tech/badge/robotframework-historic)](https://pepy.tech/project/robotframework-historic)
![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)
![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
![Open Source Love png1](https://badges.frapsoft.com/os/v1/open-source.png?v=103)
[![HitCount](http://hits.dwyl.io/adiralashiva8/robotframework-historic.svg)](http://hits.dwyl.io/adiralashiva8/robotframework-historic)> Sample Report (old view) [Link](https://rfhistoric.netlify.com/)
---
### How it Works:
- Get execution details by __parsing__ output.xml
- Store execution results in local / remote hosted __MySQL__ database
- Generate html report from database using __Flask__>
---
### Requirements
- Python 3.7 or above
- MySQL DB---
### Installation
> Following steps are one time activity- __Step 1:__ Download and Install MySQL Server - [guide](https://bit.ly/2GrUUZ9)
- __Step 2:__ Install robotframework-historic
> Case 1: Using pip
```
pip install robotframework-historic==0.2.8
```> Case 2: Using setup.py (root)
```
python setup.py install
```> Case 3: Using git (latest changes - prefer this)
```
pip install git+https://github.com/adiralashiva8/robotframework-historic
```> Help / Know More
```
rfhistoric --help
rfhistoricparser --help
rfhistoricsetup --help
rfhistoricupdate --help
```- __Step 3:__ Create *rfhistoric* default user & *robothistoric.TB_PROJECT* table
> Case 1: Through command line
```
rfhistoricsetup
```> Case 2: Manual steps
- Create *rfhistoric* default [guide](https://bit.ly/2PIOTfI)
- Create *robothistoric.TB_PROJECT* table [guide](https://bit.ly/2Tv2tV5)---
### How to use in project
- __Step 1:__ Create project in robotframework-historic - [guide](https://bit.ly/38JskhS)
- __Step 2:__ Push execution results to project - [guide](https://bit.ly/35sSY09)
> Facing mysql issue? try
```
pip install mysql-connector-python
pip install PyMySQL
```- __Step 3:__ Open robotframework-historic to view historical results
---
If you have any questions / suggestions / comments on the report, please feel free to reach me at
- Email: `[email protected]`
- Feedback/Suggestion Form [Link](https://forms.gle/ecdzxQismbPmmYiE6)---
:star: repo if you like it
---