Pytest adaptor for TestLite TMS system
Project description
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
–testsuite=PROJECT-TS-1 (TestSuite key in TestLite)
–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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9609dee53ad2262ec8b7237f22dcae4c48ae440dd0a9f9e98a591b2091d5d05
|
|
| MD5 |
95a7bc82aa27f8396e987eb60ab34b0d
|
|
| BLAKE2b-256 |
8319de1a0cd1d31a48265c5783228ab462762c3c87c48126a0ca2e0136cf62bc
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f299642cb1246f29d6f916a936331cc1dd32a637ecb2b3f4e7231629d09fa59
|
|
| MD5 |
1e4387d0dcf5fe27a3accffebb591c6e
|
|
| BLAKE2b-256 |
7c0eabc2f541c10d63eaf4f553f8c93cd5251243c0d558ad7d6e3ad1834211da
|