clirunner
A python test helper for invoking and testing command line interfaces (CLIs) based on Click's CliRunner (by RhetTbull)
pytypest
Testing framework that empowers pytest (with better fixtures and parametrization) (by orsinium-labs)
clirunner | pytypest | |
---|---|---|
1 | 2 | |
5 | 57 | |
- | - | |
8.0 | 6.3 | |
5 months ago | 8 months ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clirunner
Posts with mentions or reviews of clirunner.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Test runner for command line projects (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.
pytypest
Posts with mentions or reviews of pytypest.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing clirunner and pytypest you can also consider the following projects:
fixtup - Test python application beyond the code boundaries !
dirty-equals - Doing dirty (but extremely useful) things with equals.
monkeyble - End-to-end testing framework for Ansible
LuluTest - LuluTest is a Python framework for creating automated browser tests.
balder - Balder is a python test system that allows you to reuse a once written testcode for different but similar platforms/devices/applications.