Doublex

Powerful test doubles framework for Python.

DecliningOpen SourceLow lock-in

Pricing

Free tier

Flat rate

Adoption

Cooling

License

Open Source

Data freshness

Aging · Jun 8, 2026

Overview

What is Doublex?

Doublex is a powerful test doubles framework that simplifies the creation and management of mock objects in Python, making unit testing more efficient and effective.

Key differentiator

Doublex stands out as a lightweight yet powerful tool specifically designed to simplify the creation and management of mock objects in Python, enhancing the efficiency of unit testing processes.

Capability profile

Capability Radar

Ease of StartEcosystemValueMaturityFlexibilityScale Ready

Honest assessment

Strengths & Weaknesses

↑ Strengths

Simplifies the creation and management of mock objects.medium

Enhances unit testing efficiency by providing powerful test doubles.medium

Supports Python's unittest framework.medium

↓ Weaknesses

Steep learning curve for non-Python developershigh

API requires Python-specific patterns, TypeScript SDK is community-maintained

Frequent breaking changes between versionsmedium

v0.1 to v0.2 migration required rewriting chain definitions

Limited integrations with other testing frameworks beyond unittesthigh

Official support is only for Python's unittest framework, lacking native Pytest integration

Small community and slower issue resolutionmedium

GitHub issues have low activity and infrequent updates from maintainers

Fit analysis

Who is it for?

✓ Best for

Python developers who need to create and manage mock objects efficiently.

Teams working on unit testing of Python applications requiring powerful test doubles.

✕ Not a fit for

Projects that do not require extensive mocking or unit testing capabilities.

Developers looking for a full-fledged testing framework rather than just a library for creating mocks.

Cost structure

Pricing

Free Tier

Available

Open source — free to use

Starts at

$0

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Ecosystem

Relationships

Next step

Get Started with Doublex

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →