/limonade/tests.php

Description
Includes
require_once (dirname(__FILE__)."/assertions.php") (line 13)

load assertions

Constants
DS = DIRECTORY_SEPARATOR (line 20)

Constants and globals

Functions
end_test_case (line 118)

Displays and ending the current tests suite

void end_test_case ()
end_test_suite (line 65)

Ends the last group of test suites

void end_test_suite ()
test_before_assert_func_name (line 218)
void test_before_assert_func_name ()
test_before_func_name (line 211)
void test_before_func_name ()
test_call_func (line 239)

Calls a function if exists

mixed test_call_func (string $func, mixed $arg,..)
  • string $func: the function name
  • mixed $arg,..: (optional)
test_case (line 93)

Starting a new test case

void test_case (string $name)
  • string $name
test_case_current (line 203)
void &test_case_current ()
test_case_describe (line 152)

Describes the current tests suite

  • return: tests description
string test_case_describe ([string $msg = NULL])
  • string $msg
test_cli_format (line 295)
void test_cli_format ( $text,  $format)
  • $text
  • $format
test_request (line 322)

Do HTTP request and return the response content.

  • author: Nando Vieira
string test_request (string $url, [string $method = "GET"], [bool $include_header = false], [ $post_data = array()], [ $http_header = array()])
  • string $url
  • string $method
  • bool $include_header
  • $post_data
  • $http_header
test_run_assertion (line 225)
void test_run_assertion ()
test_suite (line 52)

Starts a test suite

void test_suite (string $name)
  • string $name

Documentation generated on Sat, 16 Oct 2010 19:09:45 +0200 by phpDocumentor 1.4.3