文件名称:concurrencytest:用于同时运行单元测试套件的Python testtools扩展
文件大小:17KB
文件格式:ZIP
更新时间:2024-06-17 09:50:31
Python
并发测试 用于同时运行单元测试套件的Python testtools扩展。 从PyPI安装: pip install concurrencytest 要求: : pip install testtools : pip install python-subunit 例子: import time import unittest from concurrencytest import ConcurrentTestSuite , fork_for_tests class SampleTestCase ( unittest . TestCase ): """Dummy tests that sleep for demo.""" def test_me_1 ( self ): time . sleep ( 0.5 ) def test_m
【文件预览】:
concurrencytest-master
----testing-goats.png(11KB)
----concurrencytest.py(5KB)
----test_concurrencytest.py(5KB)
----tox.ini(411B)
----requirements.txt(25B)
----setup.py(1KB)
----.gitignore(195B)
----README.md(1KB)