fixtup VS clirunner

Compare fixtup vs clirunner and see what are their differences.

fixtup

Test python application beyond the code boundaries ! (by FabienArcellier)

clirunner

A python test helper for invoking and testing command line interfaces (CLIs) based on Click's CliRunner (by RhetTbull)
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
fixtup clirunner
2 1
8 5
- -
2.5 8.0
9 months ago 5 months ago
Python Python
MIT License BSD 3-clause "New" or "Revised" 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.

fixtup

Posts with mentions or reviews of fixtup. We have used some of these posts to build our list of alternatives and similar projects.
  • wait for a server to respond in python
    1 project | dev.to | 9 Dec 2022
    I have written wait_port, the following function, for the open source library fixtup. fixtup starts containers so that a test can run. There is a need to wait before returning control or executing migration code until the container is operational. The wait_port helper allows you to wait in a hook before returning control to pytest.
  • Write system integration tests on Ftp data pipeline with fixtup
    1 project | dev.to | 5 Dec 2022
    Fixtup is an open source python library for testing a python application beyond code boundaries. It manages the creation of disposable environments and is compatible with all modern CI platforms that support docker-compose such as gitlab ci, github action, etc… The library works with pytest and unittest and runs on linux, macOS and windows.

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)
    1 project | /r/Python | 4 Dec 2023
    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.

What are some alternatives?

When comparing fixtup and clirunner you can also consider the following projects:

flask-unittest - :wrench: Test Flask apps using unittest - with minimal headaches!

drf-test-generator - A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets

headlock - An adapter for making C code testable from Python (see https://headlock.readthedocs.io/en/latest)

green - Green is a clean, colorful, fast python test runner.

django-timed-tests - Get timing breakdown of your Django test suite

neotest-python