Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teko-import-test-0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

teko_import_test-0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file teko-import-test-0.3.tar.gz.

File metadata

  • Download URL: teko-import-test-0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for teko-import-test-0.3.tar.gz
Algorithm Hash digest
SHA256 1d4853bc237095aaf7e6db2dbcdff024ebfb55a539e59dff31ac339c8861f42e
MD5 726b424450a2241ca63b354fe89f1c7d
BLAKE2b-256 7665e258b0c3e00c3a41155d48ce90343ebba8d3a53e1a10e593ae43c85a9ad5

See more details on using hashes here.

File details

Details for the file teko_import_test-0.3-py3-none-any.whl.

File metadata

  • Download URL: teko_import_test-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for teko_import_test-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c43aec8f1de8a44890dde28688bee1fd385a9bc4060b7378f16649c0be18481e
MD5 770ec7c2a4e418d34cb8e2be9c22f917
BLAKE2b-256 66234b7f0d5d83d21d3060314c4f1a71384df94026e0e4d1608ffe0b85fed92e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3 This release

2 files

0.2

2 files

0.1

2 files

Supported by

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