Filewatcher File Search File Search
Catalog
Content Search
» » » » »

python-fudge-doc

Python module for using fake objects for tests, Python3 package

Fudge is a Python module for using fake objects (mocks and stubs) to test real ones.

In readable Python code, you declare what methods are available on your fake and how they should be called. Then you inject that into your application and start testing. This declarative approach means you don’t have to record and playback actions and you don’t have to inspect your fakes after running code. If the fake object was used incorrectly then you’ll see an informative exception message with a traceback that points to the culprit.

Fudge was inspired by Mocha which is a simpler version of jMock. But unlike Mocha, Fudge does not automatically hijack real objects; you explicitly patch them in your test. And unlike jMock, Fudge is only as strict about expectations as you want it to be. If the type of arguments sent to the fake method aren’t important then you don’t have to declare an expectation for them.

This is the documentation of python-fudge.

Homepage:
Package version:1.0.3-3
Architecture:all
Distribution:Debian
Filename:python-fudge-doc_1.0.3-3_all.deb

/usr/share/doc/python-fudge-doc/changelog.Debian.gz

python-fudge (1.0.3-3) unstable; urgency=low

  * Fix "missing dependency on python3!!" by using correct variable in
    debian/control (Closes: #674405)
  * fix Vcs-Svn and Vcs-Browser URLs in debian/control

 -- Jan Dittberner <jandd@debian.org>  Thu, 24 May 2012 15:21:51 +0200

python-fudge (1.0.3-2) unstable; urgency=low

  * Fix "FTBFS if built twice in a row: aborting due to unexpected
    u
more»

/usr/share/doc/python-fudge-doc/copyright

Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
Upstream-Name: fudge
Upstream-Contact: Kumar McMillan
 http://farmdev.com/projects/fudge/
Source: http://pypi.python.org/pypi/fudge

Files: *
Copyright: Copyright (c) 2009 Kumar McMillan
License: MIT

Files: debian/*
Copyright: Copyright (c) 2011 Jan Dittberner
License: MIT

License: MIT
 Permission is hereby granted, free o
more»

Browse inside python-fudge-doc_1.0.3-3_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download python-fudge-doc_1.0.3-3_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com