军情七处是一个轻量级和有趣的间谍测试框架。它的主要目标是尽可能容易使用。

MI7的Python项目详细描述


军情七处是一个轻量级和有趣的间谍测试框架。它的主要目标是尽可能容易使用。

Python is not a language where one expects to be doing a lot of dependency injection, mocking, stubbing and other techniques that are fairly common in other languages. That “modus operandi” is what Python developers call being Pythonic.

MI7 is a framework that wants to operate pretty much like James Bond (the old one): in stealth mode. The main goal of the library is to be invisible to your production code, and as invisible as possible in your tests.

Experience shows that using current Python test helpers, tests tend to become rapidly verbosy. There’s nothing worse than writing 10 lines of boilerplate code in a test so that you can start testing what you want.

With MI7, we are trying to answer that call. A call for a library that helps us write tests with clear intent and change the current view that Pythonists do not like Test Driven Development.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
html解析JSoup触发“java.nio.charset.IllegalCharsetNameException:iso88591”   java无法通过internet连接到ServerSocket   文本的java示例代码。木卫一。ReadAll   单元测试如何使用JUnit测试java代码   java如何从Edifact d96a读取交货日期。txtfile?   java将每次运行后的输出更改为所有运行后的一个输出   单页应用程序的JavaSpring引导资源处理程序模式   java正则表达式,从字符串中删除“<xxxxxxx>”   java通过文档生成器提交post请求   JFrame的java未定义类型   Java SE应用程序的mysql数据库版本控制   带有透明复合SWT的java堆栈布局