Used Mock for Linux for Linux? Share your experience and help other users.


Key Details of Mock for Linux

  • Try a core Mock class that is intended to reduce the need to create a host of trivial stubs throughout your test suite.
  • Last updated on
  • There have been 9 updates
  • Virus scan status:

    Clean (it’s extremely likely that this software program is clean)


Developer’s Description

Try a core Mock class that is intended to reduce the need to create a host of trivial stubs throughout your test suite.
After performing an action, you can make assertions about which methods or attributes were used and arguments they were called with. You can also specify return values and set specific attributes in the normal way. It also provides a mock.patch() decorator that handles patching module and class level attributes within the scope of a test, along with mock.sentinel for creating unique objects. Most mocking libraries follow the 'record -> replay' pattern of mocking. Mock uses the 'action -> assertion' pattern, which is more readable and intuitive; particularly when working with the Python unit test module.


Explore More


Full Specifications

GENERAL
Release
Latest update
Version
1.0
OPERATING SYSTEMS
Platform
Linux
Additional Requirements
None
POPULARITY
Total Downloads
13
Downloads Last Week
0

Report Software

Program available in other languages


Download.com
Your review for Mock for Linux