简体   繁体   English

如何调试pycharm中的生菜测试

[英]how to debug lettuce tests in pycharm

I am new to lettuce framework and trying to find answer on how to debug lettuce tests ? 我是生菜框架的新手,并试图找到有关如何调试生菜测试的答案? Is it possible ? 可能吗 ? I found that PyCharm Professional Edition has BDD support. 我发现PyCharm专业版具有BDD支持。 I have got some existing tests written in lettuce. 我有一些用生菜写的现有测试。 Can I debug them if I have got professional edition of pycharm ? 如果我有pycharm专业版,可以调试它们吗?

Yes, you can. 是的你可以。

you may add breaking points to your test case and then right click > debug to debug your feature. 您可以在测试用例中添加断点,然后right click > debug以调试功能。

https://www.jetbrains.com/help/pycharm/2016.1/run-debug-configuration-lettuce.html?origin=old_help https://www.jetbrains.com/help/pycharm/2016.1/run-debug-configuration-lettuce.html?origin=old_help

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM