全部搜索项
trixie  ] [  sid  ]
[ 源代码: pytest-relaxed  ]

软件包:python3-pytest-relaxed(2.0.2-3 以及其他的)

python3-pytest-relaxed 的相关链接

Screenshot

Debian 的资源:

下载源码包 pytest-relaxed

维护小组:

外部的资源:

相似软件包:

provide relaxed test discovery for pytest

This is the spiritual successor to https://pypi.python.org/pypi/spec, but is built for pytest instead of nosetests, and rethinks some aspects of the design (such as increased ability to opt-in to various behaviors.)

Has it ever felt strange to put tests in tests/, then name the files test_foo.py, name the test classes TestFoo, and finally name the test methods test_foo_bar? Especially when almost all of the code inside of tests/ is, well, tests?

This pytest plugin takes a page from the rest of Python, where you don't have to explicitly note public module/class members, but only need to hint as to which ones are private. By default, all files and objects pytest is told to scan will be considered tests; to mark something as not-a-test, simply prefix it with an underscore.

其他与 python3-pytest-relaxed 有关的软件包

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

下载 python3-pytest-relaxed

下载可用于所有硬件架构的
硬件架构 版本 软件包大小 安装后大小 文件
all 2.0.2-3 16.5 kB58.0 kB [文件列表]
hppa (非官方移植版) 2.0.2-1 16.4 kB58.0 kB [文件列表]