Flexmock

From Free Software Directory
Revision as of 16:12, 4 April 2018 by Bendikker (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[edit]

Flexmock

http://has207.github.com/flexmock/
Mock/Stub/Spy library for Python

flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes.

The API is inspired by a Ruby library of the same name, but Python flexmock is not a clone of the Ruby version. It omits a number of redundancies in the Ruby flexmock API, alters some defaults, and introduces a number of Python-only features.

flexmock's design focuses on simplicity and intuitiveness. This means that the API is as lean as possible, though a few convenient short-hand methods are provided to aid brevity and readability.

flexmock declarations are structured to read more like English sentences than API calls, and it is possible to chain them together in any order to achieve high degree of expressiveness in a single line of code.

This package contains the Python 2.x version of flexmock.





Licensing

License

Verified by

Verified on

Notes

Verified by

Debian: Stefano Rivera <stefanor@debian.org>

Verified on

10 May 2013

Notes

License: bsd-2-clause




Leaders and contributors

Contact(s)Role
Herman Sheremetyev contact


Resources and communication

AudienceResource typeURI
Downloadhttps://github.com/has207/flexmock
Debian (Ref) (R)https://tracker.debian.org/pkg/python-flexmock
Python (Ref)https://pypi.org/project/flexmock
Ruby (Ref)https://rubygems.org/gems/flexmock


Software prerequisites

This entry (in part or in whole) was last reviewed on 4 April 2018.



Entry




Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.








"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Python (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Ruby (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/python-flexmock

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.