{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"},{"label":"Unit","url":"https://skillfed.io/packages/category/software-development-testing-unit"},{"label":"Acceptance","url":"https://skillfed.io/packages/category/software-development-testing-acceptance"},{"label":"Mocking","url":"https://skillfed.io/packages/category/software-development-testing-mocking"},{"label":"BDD","url":"https://skillfed.io/packages/category/software-development-testing-bdd"}],"enrichment":{"capability":"TestSlide is a test framework for Python that provides strict mocks integrated with unittest.TestCase, enabling unit testing, TDD, and BDD with detailed validation and failure guidance.","skillfed_tags":["mocking","tdd","bdd"],"use_cases":["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"],"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\u2014a 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.\n\nThe 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.","worth_installing":"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."},"id":"testslide","links":{"html":"https://skillfed.io/packages/testslide","md":"https://skillfed.io/packages/testslide.md","pypi":"https://pypi.org/project/testslide/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-03-16","license_spdx":null,"license_treatment":"permissive","name":"TestSlide","python_support":"unspecified","summary":"A test framework for Python that makes mocking and iterating over code with tests a breeze"},"popularity":{"monthly_downloads":166372,"position":10496,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.7.1"}
