Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Features

  • 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
Release History

Release History

This version
History Node

0.3.0

History Node

0.3.0rc1

History Node

0.2.5

History Node

0.2.4

History Node

0.2.2

History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
climactic-0.3.0.tar.gz (10.1 kB) Copy SHA256 Checksum SHA256 Source Jun 16, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting