Skip to content

romansalin/testrail-reporting

Repository files navigation

testrail-reporting

Web App that lets you build custom reports for TestRail.

Requirements

You will need the following things properly installed on your machine:

  • Python 3.5+
  • MongoDB 3+
  • Node.js 5+ (with NPM)

Installation

Development Environment

  1. Install system requirements:
$ sudo apt-get install build-essential python3.5-dev python3-pip mongodb nodejs
$ sudo pip3 install virtualenv
  1. Install Python requirements:
$ cd testrail-reporting
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
  1. Install JavaScript requirements and build static:
$ npm install
$ npm run watch
  1. Make sure that MongoDB is running:
$ sudo service mongodb start
  1. Create local configuration file in /etc/testrail_reporting/testrail_reporting.conf or ~/testrail_reporting.conf and populate it with Google and TestRail credentials. If you want to create your own credentials for Google oauth, go to https://console.developers.google.com "APIs & Auth" -> Credentials and create new credentials there.
  2. Sync the database with TestRail:
$ python manage.py sync
  1. Start your local development server:
$ python manage.py runserver

Production Environment

TODO

Hacking

To run tests and linters:

$ pip install tox
$ tox
$ npm run lint

About

Web App that lets you build custom reports for TestRail (the project was moved to a private repo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published