Ama*_*eja 3 python unit-testing pytest
我正在下面运行这个测试用例命令
py.test --cov-report term-missing --cov=pipelines/core/comp/plugins/abc/ --noconftest pipelines/core/comp/test/plugins/abc/test_abc_crawler_task.py -vv
Run Code Online (Sandbox Code Playgroud)
但出现以下错误:
usage: py.test [options] [file_or_dir] [file_or_dir] [...]
py.test: error: unrecognized arguments: --cov-report --cov=pipelines/core/comp/plugins/abc/ pipelines/core/comp/test/plugins/abc/test_abc_v4_crawler_task.py
inifile: /home/udocker/piper/pytest.ini
rootdir: /home/udocker/piper
Run Code Online (Sandbox Code Playgroud)