我有一个名为Test Case A
的测试用例,我想调试导入的python库中的内部方法调用。我使用PyCharm运行/调试配置窗口来设置参数。在
/home/zeinab/Workspace/Test/run.py
--testsuite MyDirectory.MyTestSuite --testcases "Test Case A"
/home/zeinab/Workspace/Test
Add content roots to PYTHONPATH
和{这是调试器输出:
/usr/bin/python2.7 /home/zeinab/Workspace/lbs-w-report-agent-test/lbs-w/Test/NewTest/run.py --testsuite MyDirectory.MyTestSuite --testcases "Test Case A"
Number of Failed Scenarios: 252
[ ERROR ] Suite 'Scenarios' contains no tests named 'Test Case A' in suite 'MyDirectory.MyTestSuite'.
Try --help for usage information.
Process finished with exit code 1
但是当我复制/粘贴调试器试图执行的行时,检测我的测试用例没有问题。在
run.py
包含:
目前没有回答
相关问题 更多 >
编程相关推荐