Tasty functional testing.
Project description
Tasty functional testing.
Alfajor provides a modern, object-oriented and browser-neutral interface to HTTP resources. With Alfajor, your Python scripts and test code have a live, synchronized mirror of the browser’s X/HTML DOM, even with DOM changes made on the client by JavaScript.
Alfajor provides:
A straightforward ‘browser’ object, with an implementation that communicates in real-time with live web browsers via Selenium and a fast, no-javascript implementation via an integrated WSGI gateway
Use a specific browser, or, via integration with the ‘nose’ test runner, switch out the browser backend via a command line option to your tests. Firefox, Safari, WSGI- choose which you want on a run-by-run basis.
Synchronized access to the page DOM via a rich dialect of lxml, with great time-saving shortcuts that make tests compact, readable and fun to write.
Optional management of server processes under test, allowing them to transparently start and stop on demand as your tests run.
An ‘apiclient’ with native JSON response support, useful for testing REST and web api implementations at a fine-grained level.
A friendly BSD license.
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 alfajor-0.1.tar.gz
.
File metadata
- Download URL: alfajor-0.1.tar.gz
- Upload date:
- Size: 65.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61654cea24540c6c95f76082cb0dbc5903b6f34c3982731f0426d7c3c0c532d1 |
|
MD5 | 88714a36390dea6f679ad7ef61227814 |
|
BLAKE2b-256 | 8a91c550691b34d98caae18e0975dc41ecb2379c9cd383d84d7fc9f53e458e7a |