September 2017
Intermediate to advanced
222 pages
5h 1m
English
Web-based projects have their own testing hoops to jump through. Even pytest doesn’t make testing web applications trivial. However, quite a few pytest plugins help make it easier.
Selenium is a project that is used to automate control of a web browser. The pytest-selenium plugin[51] is the Python binding for it. With it, you can launch a web browser and use it to open URLs, exercise web applications, and fill out forms. You can also programmatically control the browser to test a web site or web application.
Django is a popular Python-based web development framework. It comes with testing hooks that allow you to test different parts of ...
Read now
Unlock full access