Rich matchers, useful for assertions in tests. Inspired by Hamcrest.
Pytest fixtures to assert anything and something
flake8 plugin which forbids assert statements without messages
A python interface to produce and consume Security Assertion Markup Language (SAML) v2.0 messages.
A pytest plugin to treat non-assertion failures as test errors.
A collection of utilities I use across different projects
Fluent API for assertions supporting pytest with focus on developer experience.
Helpers for testing Django using context managers
A Pylint plugin for detecting incorrect use of unittest assertions
Foo demo project the II
A package to test common files in genomics (.vcf.gz, .bam)
Rich assertions library for Python
A behavioral testing library for LLM applications that allows developers to write natural language specifications for unit and integration tests. Validate LLM application behavior using plain English assertions in a simple assert(str, str) form factor.
Handy functions for testing lxml etree objects for equality and compatibility
BDD / TDD assertion library for Python
A utility package for making better test assertions
rspec/should.js assertion style for python test
A package for performing assertions and providing informative exception messages.
assertion library for python that can be delightfully paired with any python testing framework
A Python library for verifying code properties using natural language assertions.
Make assertions about CSS selectors
A pytest plugin to assert type annotations at runtime.
Integrates pytest asserts with behave
assert + ensure = assure
Easily make assertions about logged messages in tests
A collection of assertion methods to compare PyTorch Tensors in tests
JUnit assert statement checker plugin for flake8
A painless assertion and validation library for Python.
misassertionz
Should style asserts based on pyhamcrest
Tests a command line program by executing it in a temporary sandbox directory and inspecting its result.
MetaPY is a package to give better type assertion.
A Django test utility to assert the number of queries per model.
A fluent DSL for python assertions.
A small assertion library for testing
HTTP assertion plugin for grappa
A Framework for orchestrating, asserting and reporting on API calls with templates
Extends unittest.TestCase such that assertions support PyTorch tensors and parameters.
Prerequisite functions to help and assert inputs and outputs condition and type
A tool for fixing bare assert statements
Python decorator to add assertions for type hints
assertlib is a standalone library of assertion methods.
Cache assertion data to simplify regression testing of complex serializable data
A record-then-assert mocking library
pytest-play support for AWS DynamoDB queries and assertions
Unittest assertion formatter