PHP Classes

File: tools/tests/example.ini

Recommend this page to a friend!
  Classes of Kristo Vaher   Wave Framework   tools/tests/example.ini   Download  
File: tools/tests/example.ini
Role: Auxiliary data
Content type: text/plain
Description: Example test configuration
Class: Wave Framework
MVC framework for building Web sites and APIs
Author: By
Last change: Update of tools/tests/example.ini
Date: 9 months ago
Size: 1,686 bytes
 

Contents

Class file image Download
; MyProjectNameHere <http://github.com/kristovaher/Wave-Framework> ; Example Test ; ; This is a generic example of a test that Test Suite can run. Multiple tests can be defined ; in the same file as multiple INI groups can be defined here. Every group must be followed ; by 'input' and 'output' groups for the tests to be run. All of the tests of the same file ; will use the same API session for running. If you want to make sure that State and API ; sessions are different, then store these tests in separate files. ; ; Input and output values can be defined as ; * :numeric: - Numbers only ; * :numeric:1-20 - Numbers with the range of 1-20 ; * :alpha: - Letters only ; * :alpha:1-10 - Letter string with the length of 1-10 characters ; * :alphanumeric: - Letters and numbers only ; * :alphanumeric:1-10 - Letters and numbers with the length of 1-10 characters ; * :fixed:a,b,c - Fixed value from the comma-separated list ; ; @package Tools ; @author DeveloperNameHere <email@example.com> ; @copyright Copyright (c) 2012, ProjectOwnerNameHere ; @license Unrestricted ; @tutorial /doc/pages/guide_tools.htm ; @since 1.0.0 ; @version 1.0.0 ; The command that is run is defined here ; Various settings that are sent with the command should be set below as well ; If you want to run the same test multiple times, then add a postfix #1, etc [example-get#1] www-cache-timeout=10 ; Input variables for the previous command [input] test1=":numeric:" test2=":alpha:" test3=":alphanumeric:" test4=":fixed:alpha,beta,gamma" ; Output variables that must match for the previous command [output] www-response-code=":numeric:500-*" id=":numeric:" name=""