$npx skillfedfor your agent

TestSlide

A test framework for Python that makes mocking and iterating over code with tests a breeze

With conditionsPyPI TestingReleased Mar 2023166.4K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — TestSlide-2.7.1.tar.gz · builds from source
v2.7.1 · released 2023-03-16

Yes, if you're on Linux and willing to handle source distribution installation. TestSlide is actively maintained, MIT licensed, and well-suited for teams practicing TDD or BDD who want strict mock validation integrated into unittest. The high install friction is a minor concern given recent repository activity and lack of known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Linux and Python 3; source distribution may require build tools.
  • Installation friction is high due to source distribution only.
  • The package is actively maintained with recent commits and has been in production since 2018, though the last release was over a year ago.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute TestSlide freely in commercial and open-source projects with minimal restrictions.

last release 2023-03-16 (1247 days) · last repo commit 2026-08-04 · 148 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 166,372 downloads/mo, #10,496 on PyPI

Verify before relying

pip install TestSlide

import testslide

class TestExample(testslide.TestCase):
  def test_with_mock(self):
    mock = testslide.StrictMock()
    self.mock_callable(mock, 'method').to_return_value(True)
  • Whether high install friction reflects build dependencies or packaging constraints not detailed in the fact sheet
  • Whether the gap between last release and recent commits indicates development stalling or stable maintenance
Same gist for agents: .md · .json

What it is and what it does

TestSlide is a testing framework that layers strict mocking onto Python's unittest.TestCase, letting you write unit, TDD, and BDD tests with detailed validation. Its core feature is StrictMock—a mock object that validates both the calls made to it and the values passed in, catching bugs when code is first written and when it changes later. You can mock constructors and callables, set expected behavior, and get failure messages that guide you toward the fix. The framework works with existing unittest code without requiring refactoring, or you can use TestSlide's own test runner for a fresh start.

The package has no runtime dependencies and is actively maintained. It requires Linux and Python 3, and is distributed as a source tarball, which means installation may require build tools on your system. It has been in production use since 2018 and is MIT licensed.

Use it for

  • Write unit tests with strict mocks that validate both method calls and argument values to catch regressions early
  • Mock constructors in integration tests to replace real clients with controlled test doubles
  • Adopt TDD or BDD workflows in existing unittest codebases without rewriting test infrastructure
  • Iterate quickly on code changes knowing that mock failure messages will guide you toward the correct implementation
  • Validate that your code calls external dependencies with the exact arguments and frequency expected

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you're on Linux and willing to handle source distribution installation.

TestSlide is actively maintained, MIT licensed, and well-suited for teams practicing TDD or BDD who want strict mock validation integrated into unittest. The high install friction is a minor concern given recent repository activity and lack of known vulnerabilities.

Install

testslide on PyPI

Before you install

Installation friction is high due to source distribution only. The package is actively maintained with recent commits and has been in production since 2018, though the last release was over a year ago.

Requires Linux and Python 3; source distribution may require build tools.

License in practice

MIT license is permissive; you can use, modify, and distribute TestSlide freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install TestSlide

import testslide

class TestExample(testslide.TestCase):
  def test_with_mock(self):
    mock = testslide.StrictMock()
    self.mock_callable(mock, 'method').to_return_value(True)

Verify before relying

  • Whether high install friction reflects build dependencies or packaging constraints not detailed in the fact sheet
  • Whether the gap between last release and recent commits indicates development stalling or stable maintenance

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 1,247 days since the last release
Last repo commit
First released
Downloads166,372 / month, #10,496 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Topic :: Software Development :: TestingTopic :: Software Development :: Testing :: AcceptanceTopic :: Software Development :: Testing :: BDDTopic :: Software Development :: Testing :: MockingTopic :: Software Development :: Testing :: Unit

Evidence: TestSlide-2.7.1.tar.gz

Tags

Capabilities
python mocking frameworkunittest with strict mockstest-driven development pythonmock validation testingbehavior-driven development pythonmock constructor librarypython tdd framework
Topics
mockingtddbdd

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “unittest with strict mocks”

  • TestSlideTestSlide is a test framework for Python that provides strict mocks…
  • flake8-mock-specA flake8 plugin that enforces the use of the spec or spec_set…
  • asynctestExtends Python's unittest module with test utilities and mocks…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also asserts · flexmock · databricks-test · behave · expects · asynctest · tdd-guard-pytest · behave-django · radish-bdd · testpath