【文件属性】:
文件名称:django-selenium-clean:编写干净的Django Selenium测试
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-01 02:21:27
Python
django-Selenium清洁
在Django上编写干净的Selenium测试。 在Python 2.7和3上运行。使用类似于被称为“页面对象模式”的范式。
内容
SeleniumTestCase对象
PageElement对象
运行django-selenium-clean自己的单元测试
执照
教程
安装
在您的virtualenv中:
pip install django-selenium-clean
配置
创建一个新的django项目和应用程序:
django-admin startproject foo
cd foo
python manage.py startapp bar
在foo/settings.py ,将'bar'添加到INSTALLED_APPS
在foo/urls.py , from bar.views import SimpleView添加fr
【文件预览】:
django-selenium-clean-master
----MANIFEST.in(59B)
----.travis.yml(860B)
----README.rst(10KB)
----CHANGES.txt(1KB)
----tests()
--------templates()
--------__init__.py(0B)
--------settings.py(1KB)
--------views.py(104B)
--------manage.py(1KB)
--------tests.py(8KB)
--------urls.py(95B)
----.isort.cfg(243B)
----setup.py(1002B)
----.gitignore(346B)
----django_selenium_clean()
--------__init__.py(7KB)
----LICENSE.txt(2KB)