百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

testtools

> 编程语言
开源

Testtools - 为 Python 进行用户友好测试

100 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Testtools - 为 Python 进行用户友好测试

========= testtools

testtools is a set of extensions to the Python standard library's unit testing framework.

These extensions have been derived from years of experience with unit testing in Python and come from many different sources.

Documentation

If you would like to learn more about testtools, consult our documentation in the 'doc/' directory. You might like to start at 'doc/overview.rst' or 'doc/for-test-authors.rst'.

To build HTML versions of the documentation, make sure you have sphinx installed and run make docs.

Licensing

This project is distributed under the MIT license and copyright is owned by Jonathan M. Lange and the testtools authors. See LICENSE for details.

Some code in 'testtools/run.py' is taken from Python's unittest module, and is copyright Steve Purcell and the Python Software Foundation, it is distributed under the same license as Python, see LICENSE for details.

Supported platforms

  • Python 3.10+ or PyPy3

If you would like to use testtools for earlier Pythons, consult the compatibility docs:

  • https://testtools.readthedocs.io/en/latest/overview.html#cross-python-compatibility

testtools probably works on all OSes that Python works on, but is most heavily tested on Linux and macOS.

Optional Dependencies

If you would like to use our Twisted support, then you will need the testtools[twisted] extra.

If you want to use fixtures then you can either install fixtures (e.g. from https://github.com/testing-cabal/fixtures or https://pypi.python.org/pypi/fixtures) or alternatively just make sure your fixture objects obey the same protocol.

Bug reports and patches

Please report bugs using GitHub at . Patches should be submitted as GitHub pull requests, or mailed to the authors. See doc/hacking.rst for more details.

History

testtools used to be called 'pyunit3k'. The name was changed to avoid conflating the library with the Python 3.0 release (commonly referred to as 'py3k').

Thanks

  • Canonical Ltd
  • Bazaar
  • Twisted Matrix Labs
  • Robert Collins
  • Andrew Bennetts
  • Benjamin Peterson
  • Jamu Kakar
  • James Westby
  • Martin [gz]
  • Michael Hudson-Doyle
  • Aaron Bentley
  • Christian Kampka
  • Gavin Panella
  • Martin Pool
  • Julia Varlamova
  • ClusterHQ Ltd
  • Tristan Seligmann
  • Jonathan Jacobs
  • Jelmer Vernooij
  • Hugo van Kemenade
  • Zane Bitter

Issues· 79 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言