Class-based benchmarking framework with unittest
-style behavior
Overview
Verdandi is a small library providing class-based benchmarking functionality with similar interface to Python's unittest.
Requirements
- Python >= 3.6
Installation
$ pip install verdandi
Usage
Verdandi can be used as a command-line both by passing the files containing benchmarks as arguments or by using the discovery functionality:
# Specifying the files
$ verdandi tests.benchmarks.bench_module1 tests.benchmarks.bench_module2
# Running discovery
$ verdandi
Credits
-
unittest - Verdandi is based on
unittest
and wouldn't exist without it! -
pytest - some improvements over the
unittest
library are inspired bypytest
or its plugins!
License
Copyright (c) 2021 by Kamil Marut
verdandi
is under the terms of the MIT License, following all clarifications stated in the license file.