Dar*_*ria 5 python django multiprocessing coverage.py
我正在并行模式下运行 Django 单元测试的 python 覆盖率:
coverage run --source='.' --concurrency=multiprocessing manage.py test --parallel
Run Code Online (Sandbox Code Playgroud)
它在抱怨:Options affecting multiprocessing must be specified in a configuration file.
但我.coveragerc在同一目录中有文件,我从该目录开始覆盖以下内容:
[run]
branch = True
concurrency = multiprocessing
Run Code Online (Sandbox Code Playgroud)
尝试指定--rcfile覆盖运行选项,但这没有帮助。我缺少什么?
谢谢你!
| 归档时间: |
|
| 查看次数: |
1412 次 |
| 最近记录: |