Recommend this page to a friend! |
Classes of Richard Carson | PHP Template Based Testing Framework | README | Download |
|
Download PHP Template Based Ajax Callback Testing Framework ------------- This Name is Too Long -------------- What is it for?This library is designed to automate testing of backend callback functions of Ajax based web services How does it work?This library uses cURL to fetch from your app's backend and uses regex to interpret the results A few examples of regexEmpty only: ^$ Any output: ^[\d\D]*$ Numbers : [\d]+ Visit http://www.phpliveregex.com/ to experiment until you find the regex string that works for you The templatestests has a simple example provided for reference. Url parameter values must be provided one per line, and already url-encoded RequirementsPHP5 is needed, as I use templates cURL is needed The webserver needs write access to the chosen temp directory, and to wherever you save your logs |