Import test tool
Import test cases from .xlsx file
Installation
$ pip install teko-import-test
Precondition
-
Python >= 3.7.1, < 4.0
-
File to import is .xlsx
-
File must has the column with cell at first row is "NAME". This tool will take test case's names from that column to import
-
Optional: If you want to add objective and precondition for the test case, just add 2 columns "OBJECTIVE" and "PRECONDITION"
-
You must set environment variables before import. Example in
.\set_env.bat-
FILE_GENERATED - path to the file to be generated
-
FILE_IMPORT - path to the file to import
-
CLASS_TEMPLATE - template of the class test. Template of class must be .txt and contains "$body$". Example in
.\template\class_template.txt -
TEST_CASE_TEMPLATE - template of the each test case. Template of class must be .txt and contains "$test_case_name$" and ""$test_number$". $test_case_objective$ and $test_case_precondition$ is optional Example in
.\template\test_case_template.txt
-
Import
$ teko-import-test
Release files for teko-import-test 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| teko-import-test-0.3.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teko_import_test-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / teko-import-test-0.3.tar.gz
| Download URL | teko-import-test-0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d4853bc237095aaf7e6db2dbcdff024ebfb55a539e59dff31ac339c8861f42e
|
|
BLAKE2b-256 checksum How to use checksums |
7665e258b0c3e00c3a41155d48ce90343ebba8d3a53e1a10e593ae43c85a9ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
|
Release files / teko_import_test-0.3-py3-none-any.whl
| Download URL | teko_import_test-0.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c43aec8f1de8a44890dde28688bee1fd385a9bc4060b7378f16649c0be18481e
|
|
BLAKE2b-256 checksum How to use checksums |
66234b7f0d5d83d21d3060314c4f1a71384df94026e0e4d1608ffe0b85fed92e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
|