Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> python >> python-doublex
etiona  ]
[ ソース: doublex  ]

パッケージ: python-doublex (1.8.2-1build1)

test doubles framework for Python 2

doublex is a test doubles framework for the Python unittest module. It may be used as a effective tool to perform Test Driven Development.

It provides stubs, spies, proxy-spies, mocks, individual methods, properties, etc. Methods support observer attachment or delegate return value generation to iterables, generators or even third party functions. A special double factory (called Mimic) allows one to create doubles inheriting original class superclasses. This provides replacements for the original instances even for code performing explicit type checking.

doublex supersedes pyDoubles and it provides its legacy API as a wrapper.

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

  • 依存
  • 推奨
  • 提案
  • dep: python (<< 2.8)
    interactive high-level object-oriented language (default version)
    dep: python (>= 2.7)
  • dep: python-hamcrest
    Hamcrest framework for matcher objects (Python 2)

python-doublex のダウンロード

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