python-fudge-doc_1.1.0-1_all.deb


Advertisement

Description

python-fudge-doc - Python module for using fake objects for tests, documentation package

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-fudge-doc
Package version: 1.1.0
Package release: 1
Package architecture: all
Package type: deb
Installed size: 348 B
Download size: 44.75 KB
Official Mirror: archive.ubuntu.com
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.

Alternatives

    Download

    Source package: python-fudge

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-fudge-doc deb package:
      # sudo apt-get install python-fudge-doc

    Files

    • /usr/share/doc-base/python-fudge-doc
    • /usr/share/doc/python-fudge-doc/changelog.Debian.gz
    • /usr/share/doc/python-fudge-doc/copyright
    • /usr/share/doc/python-fudge-doc/html/genindex.html
    • /usr/share/doc/python-fudge-doc/html/index.html
    • /usr/share/doc/python-fudge-doc/html/javascript.html
    • /usr/share/doc/python-fudge-doc/html/migrating-0.9-to-1.0.html
    • /usr/share/doc/python-fudge-doc/html/objects.inv
    • /usr/share/doc/python-fudge-doc/html/py-modindex.html
    • /usr/share/doc/python-fudge-doc/html/search.html
    • /usr/share/doc/python-fudge-doc/html/searchindex.js
    • /usr/share/doc/python-fudge-doc/html/using-fudge.html
    • /usr/share/doc/python-fudge-doc/html/why-fudge.html
    • /usr/share/doc/python-fudge-doc/html/_sources/index.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/javascript.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/migrating-0.9-to-1.0.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/using-fudge.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/why-fudge.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/api/fudge.inspector.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/api/fudge.patcher.txt
    • /usr/share/doc/python-fudge-doc/html/_sources/api/fudge.txt
    • /usr/share/doc/python-fudge-doc/html/_static/ajax-loader.gif
    • /usr/share/doc/python-fudge-doc/html/_static/basic.css
    • /usr/share/doc/python-fudge-doc/html/_static/comment-bright.png
    • /usr/share/doc/python-fudge-doc/html/_static/comment-close.png
    • /usr/share/doc/python-fudge-doc/html/_static/comment.png
    • /usr/share/doc/python-fudge-doc/html/_static/doctools.js
    • /usr/share/doc/python-fudge-doc/html/_static/down-pressed.png
    • /usr/share/doc/python-fudge-doc/html/_static/down.png
    • /usr/share/doc/python-fudge-doc/html/_static/file.png
    • /usr/share/doc/python-fudge-doc/html/_static/jquery.js
    • /usr/share/doc/python-fudge-doc/html/_static/minus.png
    • /usr/share/doc/python-fudge-doc/html/_static/nature.css
    • /usr/share/doc/python-fudge-doc/html/_static/plus.png
    • /usr/share/doc/python-fudge-doc/html/_static/pygments.css
    • /usr/share/doc/python-fudge-doc/html/_static/searchtools.js
    • /usr/share/doc/python-fudge-doc/html/_static/underscore.js
    • /usr/share/doc/python-fudge-doc/html/_static/up-pressed.png
    • /usr/share/doc/python-fudge-doc/html/_static/up.png
    • /usr/share/doc/python-fudge-doc/html/api/fudge.html
    • /usr/share/doc/python-fudge-doc/html/api/fudge.inspector.html
    • /usr/share/doc/python-fudge-doc/html/api/fudge.patcher.html

    Changelog

    Advertisement
    Advertisement