Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

YAML-based tests for commandline utilities

Project description

A simple testing framework for running shell commands and verifying their behavior. Tests are written as YAML files which specify the commands to run, along with assertions about the output (currently, stdout and file/directory contents).

NOTE: climactic is a Python 3 package


  • Pytest integration via an automatically registered plugin
  • Aggregate tests recursively in a directory matching the pattern “test_*.yml” using the commandline tool climactic
  • Compatibility with the standard unittest package
  • Tests are run in a temporary directory to avoid data loss and path-dependent results
  • Set environment variables per-test with the ‘env’ task
  • Compare stdout, directory structure, and file contents to expected string values
  • bash-like ${VAR} substitution for input commands and output validation

Project details

Download files

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

Files for climactic, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size climactic-0.3.0.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page