Does Python have anything Like Capybara/Cucumber?

后端 未结 7 1163
星月不相逢
星月不相逢 2021-01-29 23:48

Ruby has this great abstraction layer on top of Selenium called Capybara, which you can use do functional/acceptance/integration testing. It also has another library called Cuc

7条回答
  •  [愿得一人]
    2021-01-30 00:12

    You can test Python code using Cucumber - see the Cucumber wiki on github for more information.

    If you want a pure Python solution, check out Lettuce. I've never used it, but there is a fairly useful looking blog entry about it and splinter here.

提交回复
热议问题