すべてのオプション
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ ソース: python-fudge  ]

パッケージ: python-fudge-doc (1.1.0-2)

python-fudge-doc に関するリンク

Screenshot

Debian の資源:

python-fudge ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

Python module for using fake objects for tests, documentation 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.

その他の python-fudge-doc 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enhances

python-fudge-doc のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 31.1 kB205.0 kB [ファイル一覧]