Skip to main content

python package providing Robot Framework integration with Jira Test Management (tm4j) Cloud

Project description

Project summary

Package providing Robot Framework listener for TM4J Cloud integration.

Install

How to build

python setup.py sdist

How to install

# PyPi
pip install tm4j-reporter-robot
# Git
pip install git+ssh://git@github.com:Klika-Tech/tm4j_reporter_robot.git

Usage

In order to use Robot Framework TM4J listener, it should be installed to the same PYTHONPATH as Robot Framework itself. While running Robot Framework, pass TM4JRobotListener as value for --listener argument, along with access and project keys:

robot --listener tm4j_reporter_robot.TM4JRobotListener:<tm4j_access_key>:<tm4j_project_key>:<tm4j_test_cycle_name> test.robot
Param Mandatory Description Type Example
tm4j_access_key Yes API key to access TM4j. To get it see Instruction str
tm4j_project_key Yes Jira / TM4J project prefix without trailing dash str QT
tm4j_test_cycle_name No TM4J test cycle name. If not passed, listener will create a new one test cycle with default name "Robot run YYYY-mm-DD HH-MM-SS" str My test cycle

In order to listener reported test execution to TM4J, mark Robot test case with tag TM4J:<tm4j_test_case_key>:

My Robot Test Case
    [Tags]  Some tag 1  Some tag 2  TM4J:QT-001
    test code goes here

Exceptions

TM4JConfigurationException

Raised by listener if test is not tagged with TM4J test case key:

tm4j_reporter_api.tm4j_exceptions.tm4j_configuration_exceptions.TM4JConfigurationException: Test case key is not found in list of tags. Please mark robot test with tag 'TM4J:<test_case_key>'.

TM4J test cycle description keyword

Library provides possibility to set TM4J test cycle description with special keyword Set Tm4j Test Cycle Description.

Usage

Import library first, use keyword after:

*** Settings ***
Library  tm4j_reporter_robot.TM4JCycleDescriptor
Suite Setup  Setting Cycle Description


*** Keywords ***
Setting Cycle Description
    Set Tm4j Test Cycle Description  My test cycle description

Keyword is in global scope, so only one instance is created during the whole test execution and it is shared by all test cases and test suites.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tm4j-reporter-robot-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

tm4j_reporter_robot-0.1.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file tm4j-reporter-robot-0.1.2.tar.gz.

File metadata

  • Download URL: tm4j-reporter-robot-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for tm4j-reporter-robot-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e2e4c0c5e1d002c9a1d526d357a1d53f0a1c99c15732094d614d7644db1478af
MD5 66e60d3bee709470be2a2aebc6484166
BLAKE2b-256 d10062262ac3c7206fc095a9c885e7529f60cd28ced871d4e6ed2baf11956e3e

See more details on using hashes here.

File details

Details for the file tm4j_reporter_robot-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tm4j_reporter_robot-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for tm4j_reporter_robot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 725cca7359d998e8efad7fc5960632cb5e1adb4a1e5014e929bc26a150400f0b
MD5 e7a3275c2203298110b2f6aede9f5276
BLAKE2b-256 8e181280d61d25f476df886a39abbacda87b98901d94176e74ebb5defa61e92b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page