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.1.tar.gz (9.5 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.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: testlitepytest-0.2.1.tar.gz
  • Upload date:
  • Size: 9.5 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.1.tar.gz
Algorithm Hash digest
SHA256 41bf2872fa930c27ba4ebb9fc185a72e3ca56884da66b130183fa32f4219f910
MD5 e22ea85d0ddeb33cfeb7f6da2717f9e1
BLAKE2b-256 f4902affc56e097582c47eae460d5d7ee5582b34858a9f24404159759ad471ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TestLitePytest-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 112ff39768ce42b40860d3989f38599aab56255545533ed3bee2c4882ad50be0
MD5 9176d24e84f9c477802df9b873f0214d
BLAKE2b-256 717304500fe89cf5511acdd27ff7cfee4031a23ec4c2f713b7455555b2697f11

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