Does Python have anything Like Capybara/Cucumber?

后端 未结 7 1240
星月不相逢
星月不相逢 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:00

    There does now exist a port of Capybara itself to Python:

    https://github.com/elliterate/capybara.py

    You can find its documentation here:

    https://elliterate.github.io/capybara.py/

    Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Selenium support built in.

提交回复
热议问题