Skip to main content

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

Project description

Teleplay

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.1.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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teleplay-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 592fcb9b224a29dcf0e7be58d67f8030cdc7a735237152960a9e1309696ae0c7
MD5 a980290f201a62951387cc1ff957de40
BLAKE2b-256 22239f676c90707cc027998a6a265bfd9548984af13fd21a08a6b5ebe7c416d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teleplay-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 700a8aea06fc2d495d1742642a44923a7cc52b4e1a2528aacb57744127c59b63
MD5 a98f9d8a1b18dd284ca59c4d4b7934e2
BLAKE2b-256 e25279e79e52c57ce263654a6d8e74df6ad8ceefca73170f895f11e861e6489e

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