Skip to content

klvl/allure-revision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allure Revision

Tests

The tool to parse allure-report and upload raw results to spreadsheet API.

Outline:

Setup

  • Clone the project
git clone https://github.com/klvl/allure-revision
  • Setup requirements
pip install -r allure-revision/requirements.txt
  • Run a script
python3 main/make.py
  • Login your Google account
  • Click on Advanced link, when a "Google hasn't verified this app" page is displayed
  • Click on Go to allure-revision-app (unsafe) link
  • Click Continue

Congratulations! The refresh token is copied to your clipboard. Follow Usage options section for further usage.

Usage options

Please, complete steps from the Setup section prior to use a tool to obtain a refresh token. There are also a few things to complete before using a tool:

Command line

  • Run revision
python3 main/make.py --id <spreadsheet-id> --token <refresh-token> --report_path relative/path/to/allure-report

Docker

  • Build docker image
docker build -t allure-revision .
  • Run docker
docker run -it --rm \
-v /full/path/to/allure-report/:/allure-revision/allure-report \
-e ID=<spreadsheet-id> \
-e TOKEN=<refresh-token> \
allure-revision

OR:

  • Run wih custom config
docker run -it --rm \
-v /full/path/to/allure-report/:/allure-revision/allure-report \
-v /full/path/to/config.json:/allure-revision/config.json \
allure-revision

Wiki

About

Tool for uploading allure-report raw data to a Google Spreadheet.

Topics

Resources

Stars

Watchers

Forks