如何使用pycharm配置页面?
how to use pycharm configuration page?
我的python2命令行是:
"pytest --env=ver01 --service=driving -v -prod-db1 -s ( directoy to my testscript). If wish to run this in pycharm, where do I enter all those parameter? I know I can go - run/debug configuration, do I put the entire line into "参数”区域?
转到run/debug配置
单击 "Add new Configuration "
的绿色“+”按钮
Select Python-测试 > py.test
将您的脚本路径输入目标输入。
启用密钥options
(这是一个复选框)并为其提供参数。
参考这个快照。
我的python2命令行是: "pytest --env=ver01 --service=driving -v -prod-db1 -s ( directoy to my testscript). If wish to run this in pycharm, where do I enter all those parameter? I know I can go - run/debug configuration, do I put the entire line into "参数”区域?
转到run/debug配置
单击 "Add new Configuration "
的绿色“+”按钮Select Python-测试 > py.test
将您的脚本路径输入目标输入。
启用密钥options
(这是一个复选框)并为其提供参数。
参考这个快照。