Unit test your websites with code that acts like a web browser.
Project description
This release includes:
send correct newline in mimeEncode (thanks Ivan Kurmanov)
handle Max-Age set to 0 (thanks Matt Chisholm)
Webunit is a framework for unit testing websites:
Browser-like page fetching including fetching the images and stylesheets needed for a page and following redirects
Cookies stored and trackable (all automatically handled)
HTTP, HTTPS, GET, POST, basic auth all handled, control over expected status codes, …
DOM parsing of pages to retrieve and analyse structure, including simple form re-posting
Two-line page-fetch followed by form-submit possible, with error checking
Ability to register error page content across multiple tests
Uses python’s standard unittest module as the underlying framework
May also be used to regression-test sites, or ensure their ongoing operation once in production (testing login processes work, etc.)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file webunit-1.3.10.tar.gz
.
File metadata
- Download URL: webunit-1.3.10.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7202d855db0f501f8a59995ec0b4913ce227c52e7d93766dfa71348fdac68603 |
|
MD5 | 9ad536608a4e4d2ec19da8529683149e |
|
BLAKE2b-256 | 2ee0defe9578f73c4508fdebfc10d7e27b1f15a8b0715ad865a7aaf9198a76be |