Add bug statistic report generator
Go into the TestRail test plan and create a report
with the bugs which fails(blocks) the tests
Example:
export TESTRAIL_USER_EMAIL='user@domain.com'
export TESTRAIL_USER_KEY='USERKEYSTRING'
export TESTRAIL_URL='https://domain.testrail.com'
export TESTRAIL_PROJECT='Project Name'
export TESTRAIL_PLAN='Plan Name'
export JIRA_USER=username
export JIRA_PASSWORD=usernamepass
export JIRA_HOST='https://domain.jira.com'
python report.py create-report \
--testrail-host $TESTRAIL_URL \
--testrail-user $TESTRAIL_USER \
--testrail-key $TESTRAIL_USER_KEY \
--testrail-project $TESTRAIL_PROJECT \
--testrail-plan $TESTRAIL_PLAN \
--jira-user $JIRA_USER \
--jira-password $JIRA_PASSWORD \
--jira-host $JIRA_HOST \
--push-to-testrail
diff --git a/tcp_tests/requirements.txt b/tcp_tests/requirements.txt
index f259976..ceb6fa3 100644
--- a/tcp_tests/requirements.txt
+++ b/tcp_tests/requirements.txt
@@ -9,3 +9,5 @@
urllib3
junit-xml
jinja2
+jira
+testrail