behave-webdriver:Selenium Webdriver步骤库,用于行为BDD测试框架

时间:2021-05-02 19:41:57
【文件属性】:
文件名称:behave-webdriver:Selenium Webdriver步骤库,用于行为BDD测试框架
文件大小:2.11MB
文件格式:ZIP
更新时间:2021-05-02 19:41:57
python testing qa webdriver browser 行为网络驱动程序 behavior-webdriver是一个步骤库,旨在允许用户使用行为BDD测试框架轻松编写Webdriver测试。 受项目的启发。 有关更多详细信息,请参见 安装 通过pip轻松安装。 安装将需要behave和selenium 。: pip install behave-webdriver 使用网络驱动程序 Selenium要求您为要使用的Web驱动程序提供可执行文件。 此外,除非您明确指定二进制文件的路径,否则selenium希望此可执行文件位于PATH中。 有关更多详细信息,请参见这些。 用法 该库与行为的基本用法要求执行以下步骤: 编写您的功能文件 导入步骤实现 在您的environment.py文件中的行为context中设置behave_driver属性。 运行behave 编写功能文件 # my-minimal-project/features/
【文件预览】:
behave-webdriver-master
----setup.py(1KB)
----.gitignore(1KB)
----requirements.txt(15B)
----.travis.yml(2KB)
----MANIFEST.in(35B)
----LICENSE(1KB)
----setup.cfg(63B)
----behave_webdriver()
--------__init__.py(1KB)
--------conditions.py(4KB)
--------utils.py(2KB)
--------transformers.py(6KB)
--------steps()
--------driver.py(25KB)
--------fixtures.py(7KB)
----examples()
--------selenium-requests()
--------minimal-project()
----README.rst(16KB)
----tests()
--------unittests()
--------experimental-features()
--------features()
--------demo-app()
----appveyor.yml(503B)
----ci()
--------install.sh(844B)
--------runtests.bat(343B)
--------bfcache.reg(173B)
--------install.bat(153B)
----.coveragerc(101B)
----.gitattributes(82B)
----docs()
--------roadmap.rst(5KB)
--------requirements.txt(394B)
--------Makefile(616B)
--------api.rst(2KB)
--------examples.rst(3KB)
--------index.rst(3KB)
--------conf.py(5KB)
--------browsers.rst(4KB)
--------_static()
--------installation.rst(508B)
--------make.bat(778B)
--------quickstart.rst(5KB)
--------steps.rst(5KB)

网友评论