BSD Ports

www/py-webunit 1.3.10_2 DragonFly

Unit test your websites with code that acts like a web browser

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
python, www
Package size
43.5 KiB, 244.3 KiB installed

Description

Webunit is a framework for unit testing websites:

Features in a nutshell:

  1. Browser-like page fetching including fetching the images and stylesheets needed for a page and following redirects
  2. Cookies stored and trackable (all automatically handled)
  3. HTTP, HTTPS, GET, POST, basic auth all handled, control over expected status codes, ...
  4. DOM parsing of pages to retrieve and analyse structure, including simple form re-posting
  5. Two-line page-fetch followed by form-submit possible, with error checking
  6. Ability to register error page content across multiple tests
  7. Uses python's standard unittest module as the underlying framework

In the other systems

SystemPortVersion
DragonFlywww/py-webunit1.3.10_2
FreeBSDwww/py-webunit1.3.10_2
HardenedBSDwww/py-webunit1.3.10_2
GhostBSDwww/py-webunit1.3.10_2

Install

Binary package:

pkg install py311-webunit

From DPorts:

cd /usr/dports/www/py-webunit && make install clean

Dependencies

Run dependencies 1

No port depends on this one.