Skip to main content

Pytest adaptor for TestLite TMS system

Project description

PyPI version Python versions

Pytest adaptor for TestLite TMS system


This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.

Installation

You can install “pytest-TestLitePytest” via pip from PyPI:

$ pip install TestLitePytest

Initial setup

To use, create a config file: “TestLiteConfig.ini” (be sure to use this name, otherwise you will not find the configuration file)

[TestLiteConfig]
TESTLITEURL=http://TestLite.test (The address where your TestLite is located)
DELETEREPORTSDIR=True/False (Save folder with reports) (Default: True)
REPORTSDIRNAME=TestLiteReports (Тame of the folder with reports)
REPORTSSAVETYPE=BINARY/TXT (In what format to save reports) (Default: BINARY) (TXT doesn't work))

Use in your tests

import  testlite

class  TestWithTestLite:

    @testlite.test_key('PROJECT-TC-1')
    def  test_1(self):
        pass

    @testlite.test_key('PROJECT-TC-2')
    def  test_2(self):
    pass

Where “PROJECT-TC-1” its test case key in TestLite

Command Line Arguments

  1. –testsuite=PROJECT-TS-1 (TestSuite key in TestLite)

  2. –save_json=json_report.json (If so, save the file with the report.)

If you specify testsuite then TestLitePytest will try to send a report to your TestLite that you specified

License

Distributed under the terms of the MIT license, “TestLitePytest” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

testlitepytest-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

TestLitePytest-0.2.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file testlitepytest-0.2.0.tar.gz.

File metadata

  • Download URL: testlitepytest-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for testlitepytest-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f9609dee53ad2262ec8b7237f22dcae4c48ae440dd0a9f9e98a591b2091d5d05
MD5 95a7bc82aa27f8396e987eb60ab34b0d
BLAKE2b-256 8319de1a0cd1d31a48265c5783228ab462762c3c87c48126a0ca2e0136cf62bc

See more details on using hashes here.

File details

Details for the file TestLitePytest-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: TestLitePytest-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for TestLitePytest-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f299642cb1246f29d6f916a936331cc1dd32a637ecb2b3f4e7231629d09fa59
MD5 1e4387d0dcf5fe27a3accffebb591c6e
BLAKE2b-256 7c0eabc2f541c10d63eaf4f553f8c93cd5251243c0d558ad7d6e3ad1834211da

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