expectmockedFunctiontoHaveBeenCalled
expectmocked is a lightweight, Python-based library designed to simplify the process of writing unit tests with mocking capabilities. It is particularly useful for developers who want to avoid the complexity of traditional mocking frameworks while still ensuring reliable test isolation. The library is inspired by the simplicity of tools like Ruby’s RSpec and aims to provide a more intuitive syntax for mocking and stubbing objects in Python.
expectmocked follows a fluent interface, allowing developers to chain method calls for setting up expectations and
One of the key features of expectmocked is its ability to mock both built-in and third-party modules
expectmocked is maintained as an open-source project and is distributed under a permissive license, allowing for