Skip to main content

Python CLI script testing with some support for arbitrary command line flags.

Project description

Client

Test a single or series of Python CLI programs all at once!

Features

Ever needed to test a series of command line scripts with flexible YAML-based arguments? Me neither -- until I did!

Provide a list of Python CLI invocations along with their associated command line arguments in a teleplay.yaml file, and go to it!

Example

The following example tests a module known as PaperPC using a program that allows for simple addition (main.ppc). The YAML represents the command line for this module: paperpc main.ppc --inputs [2,3].

modules:
    paperpc:
        args:
            - main.ppc
            - --inputs [2,3]
        outcome: 5

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

teleplay-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

teleplay-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file teleplay-0.1.0.tar.gz.

File metadata

  • Download URL: teleplay-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for teleplay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9fe33ceca5beebb60857e871bbcb38b210d29376b85fb3e7bdf42806dca39636
MD5 2c1a6c7e1916e555251068c339e98128
BLAKE2b-256 acd725940bfdb6d80e2ff118169b7ff810c0931a5ac7d268127752e03c5e4b2d

See more details on using hashes here.

File details

Details for the file teleplay-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: teleplay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for teleplay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 894954a308dc8c86d88cb986450e529f58575c664aacf337062f8e98726fc1ea
MD5 a420efaef511df1b125a08a6c8eb2d4c
BLAKE2b-256 cf6da2695d333d7d503caa737b3187dbd0a811da60f8eba8ef6e790ac90a8e4d

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