Skip to main content

Generate json reports along with specified metadata defined in test markers.

Project description

pytest-railflow-testrail-reporter

PyPI - Python Version Build Cov MIT license PyPI - Downloads

Pytest-Railflow-Testrail-reporter is the Pytest plugin generates json outputs with predefined metadata as json attributes defined during the tests.

It is designed for generating testrail outputs.

Requirements

In order to use pytest-railflow-testrail-reporter plugin, following prerequsites should be met.

  • Python 2.7, 3.4 or greater
  • Pytest

Installation

Using Pip

To install the pytest-railflow-testrail-reporter plugin using pip,run the following command in terminal:

pip install pytest-railflow-testrail-reporter

This will install the plugin to the system.

Usage

Currently the plugin supports the metadata attributes given below. All other undefined metadata attributes will be rejected with a warning.

Function level Attributes Class level Attributes
testrail_user testrail_user
description testrail_project
jira_id case_fields
test_path result_fields
case_fields test_path
result_fields case_type
test_mappings case_priority
case_type smart_assign
case_priority

To run the test, enter the following command in the terminal from test directory.

pytest --jsonfile output.json

Please check examples for more information and sample tests.

License

This software is licensed under the MIT license

See License file for more information.

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

pytest-railflow-testrail-reporter-0.1.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_railflow_testrail_reporter-0.1.3-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-railflow-testrail-reporter-0.1.3.tar.gz.

File metadata

  • Download URL: pytest-railflow-testrail-reporter-0.1.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for pytest-railflow-testrail-reporter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e952e17fcdd469483631fe97dff27f4c0bf91e4dd13a3c82dffeaf9af67e3ac2
MD5 6f68a7cdf1c16aaff90c5cc6ccbeef35
BLAKE2b-256 7c4eed5ba0163396219ef3ac98495368195a22b8ea54db530b1e081bf2ff8c93

See more details on using hashes here.

File details

Details for the file pytest_railflow_testrail_reporter-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_railflow_testrail_reporter-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for pytest_railflow_testrail_reporter-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 04c0898ab0e0a24a9502ac0e9928e8118f6b5f013ba142b8c38443e3cb90b389
MD5 861e5b40536aee819239c5e0ed45a4cf
BLAKE2b-256 5789c5b044084ad61d9c4caa8ff26da98bcc8633fd91a7a239a7cd7e2e374287

See more details on using hashes here.

Supported by

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