File: README

Recommend this page to a friend!
  Classes of Richard Carson  >  PHP Template Based Testing Framework  >  README  >  Download  
File: README
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Template Based Testing Framework
Test the output of application site scripts
Author: By
Last change:
Date: 6 years ago
Size: 904 bytes
 

Contents

Class file image 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 regex

Empty 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 templates

tests has a simple example provided for reference. Url parameter values must be provided one per line, and already url-encoded

Requirements

PHP5 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


For more information send a message to info at phpclasses dot org.