Test runner for command line projects (based on Click's CliRunner)

This page summarizes the projects mentioned and recommended in the original post on /r/Python

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • clirunner

    A python test helper for invoking and testing command line interfaces (CLIs) based on Click's CliRunner

  • I love Click for building Python command line interfaces (CLI). One useful feature Click provides is a CliRunner() helper class for testing. CliRunner invokes the script in an isolated environment allowing you to pass arguments, etc. Occasionally I work on projects that don't use Click. For example, if I want to provide a python3 -m packagename script that is ancillary to the primary use case and don't want to include Click as a dependency or want something that can be distributes as a stand-alone script without dependencies. In this case I'd usually use argparse. However, CLIs built with argparse (or old-fashioned manual sys.argv parsing) aren't nearly as easy to test. Thus I created clirunner which is a port of Click's test helper to work with non-Click apps. The API is compatible with Click's CliRunner so if you ever move a project to use Click, the tests should need little to no modification.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to generate AI images in ChatGPT-3.5 (free)

    1 project | dev.to | 21 May 2024
  • Turning Text into Audio: A Journey with Text2AudioBook

    1 project | dev.to | 21 May 2024
  • Try to dump traditional mouse. Click by [Vim] + [screen vision-recognition] way

    1 project | news.ycombinator.com | 20 May 2024
  • Utilizing Coverage AI Agents for Better Unit Tests

    2 projects | dev.to | 20 May 2024
  • You Can Set Up a Home Security Camera System Without Using the Cloud

    1 project | news.ycombinator.com | 20 May 2024