全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: python-fudge  ]

软件包:python-fudge-doc(1.1.1-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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python-fudge-doc

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 40.9 kB349.0 kB [文件列表]