Skip to main content

test-aide


test-aide is a lightweight package containing helper functions to simplify certain aspects of unit testing. See the documentation for the full list of features.

The equality module contains helpers that simplfy asserting equality when working with pandas or numpy types, in particular when working with these types nested in other data structures e.g. a dict containing pandas.DataFrame object(s).

The functions module contains helpers that simplfy asserting that a function was called in a particular way. The functions assert_function_call and assert_function_call_count are available to be used as context managers to test a function is called in a certain way and called a specific number of times respectively.

Installation

test-aide can be installed from PyPI simply with;

pip install test-aide

Documentation

Documentation for the package can be found on readthedocs.

To build the html documentation locally, from the docs directory run the following;

make html

Build and test

The test framework we are using for this project is pytest, to run the tests follow the steps below.

First clone the repo and move to the root directory;

git clone https://github.com/lvgig/test-aide.git
cd test-aide

Then install test-aide in editable mode;

pip install -e . -r requirements-dev.txt

Then run the tests simply with pytest;

pytest

Contribute

test-aide is under active development, we're super excited if you're interested in contributing!

See the CONTRIBUTING file for the full details of our working practices.

For bugs and feature requests please open an issue.

Metadata

Release files for test-aide 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for test-aide 0.1.1
File Size Uploaded Provenance
test-aide-0.1.1.tar.gz 10.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for test-aide 0.1.1
File Interpreter ABI Platform
test_aide-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.7 kB

Release files / test-aide-0.1.1.tar.gz

Download URL test-aide-0.1.1.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
33a1a252c900af2c2f74ab23d0eaa0dadbb3c3414c03f514d8f6e995bb2f5cd5
BLAKE2b-256 checksum
How to use checksums
30de63c9925c311003433063d0e74ded2bd52d0cbbbb5f4651fc648d2d14868f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Release files / test_aide-0.1.1-py3-none-any.whl

Download URL test_aide-0.1.1-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
011d86f516738ac6d9ad88d46d6805f33aafbfef605f492485e93ee5fe83e2cc
BLAKE2b-256 checksum
How to use checksums
c4432ffe0e84abf1827917fe054f1e7095e46545240b85f0ca89c67b96b64e7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Security for test-aide 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page