Web App that lets you build custom reports for TestRail.
You will need the following things properly installed on your machine:
- Python 3.5+
- MongoDB 3+
- Node.js 5+ (with NPM)
- Install system requirements:
$ sudo apt-get install build-essential python3.5-dev python3-pip mongodb nodejs
$ sudo pip3 install virtualenv
- Install Python requirements:
$ cd testrail-reporting
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
- Install JavaScript requirements and build static:
$ npm install
$ npm run watch
- Make sure that MongoDB is running:
$ sudo service mongodb start
- 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.
- Sync the database with TestRail:
$ python manage.py sync
- Start your local development server:
$ python manage.py runserver
TODO
To run tests and linters:
$ pip install tox
$ tox
$ npm run lint