提问人:DeReK YuEn 提问时间:4/24/2023 最后编辑:CowDeReK YuEn 更新时间:4/24/2023 访问量:59
运行 mut.py 时遇到错误:“mut.py:错误:无法识别的参数”
Encountering an error when running mut.py: "mut.py: error: unrecognized arguments"
问:
当我尝试运行 mut.py 时遇到此错误
C:\Pprogs>mut.py --dcmotor_pid_control --dcmotor_tests -m
usage: mut.py [-h] [--version] [--target TARGET [TARGET ...]] [--unit-test UNIT_TEST [UNIT_TEST ...]] [--runner RUNNER]
[--report REPORT_FILE] [--report-html DIR_NAME] [--timeout-factor TIMEOUT_FACTOR] [--show-mutants] [--quiet]
[--debug] [--colored-output] [--disable-stdout] [--experimental-operators] [--operator OPERATOR [OPERATOR ...]]
[--disable-operator OPERATOR [OPERATOR ...]] [--list-operators] [--path DIR] [--percentage PERCENTAGE] [--coverage]
[--order ORDER] [--hom-strategy HOM_STRATEGY] [--list-hom-strategies] [--mutation-number MUTATION_NUMBER]
mut.py: error: unrecognized arguments: --dcmotor_pid_control --dcmotor_tests
我的预期结果是“[*] 开始突变过程:
- 目标: dcmotor_pid_control
- 测试:dcmotor_tests [*]所有测试均通过:'
答: 暂无答案
评论