Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Beholder_Executor
  • Jyxo_Beholder_Result
  • Jyxo_Beholder_TestCase
  • Jyxo_Beholder_TestCase_FileSystem
  • Jyxo_Beholder_TestCase_HttpResponse
  • Jyxo_Beholder_TestCase_Imap
  • Jyxo_Beholder_TestCase_JsonRpc
  • Jyxo_Beholder_TestCase_Memcached
  • Jyxo_Beholder_TestCase_Mysql
  • Jyxo_Beholder_TestCase_Pgsql
  • Jyxo_Beholder_TestCase_PhpExtension
  • Jyxo_Beholder_TestCase_PhpVersion
  • Jyxo_Beholder_TestCase_PhpZend
  • Jyxo_Beholder_TestCase_Smtp
  • Jyxo_Beholder_TestCase_Webdav
  • Jyxo_Beholder_TestCase_XmlRpc
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Jyxo_Beholder_Executor

Beholder test executor.

Includes filtering and HTML output formatting.

Tests are performed in random order but results are outputted in alphabetical order with the order they were performed.

Example:

$beholder = new Jyxo_Beholder_Executor('Project', $_GET);
$beholder->addTest('T1', new Project_Beholder_Test1('Test 1'));
$beholder->addTest('T2', new Project_Beholder_Test2('Test 2'));
$beholder->addTest('T3', new Project_Beholder_Test3Blah('Test 3 Blah'));
$beholder->run();
Category: Jyxo
Package: Jyxo_Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Matoušek
Author: Jaroslav Hanslík
Located at Beholder/Executor.php
Methods summary
public
# __construct( string $project, array $params = array() )

Constructor.

Constructor.

Parameters

$project
string
Project name
$params
array
Parameters; possible parameters are: include, exclude, output
public boolean
# run( )

Performs chosen tests and outputs results according to the selected output type.

Performs chosen tests and outputs results according to the selected output type.

Returns

boolean
Returns if all tests were successful
public Jyxo_Beholder_Executor
# addTest( string $ident, Jyxo_Beholder_TestCase $test )

Adds a test.

Adds a test.

Parameters

$ident
string
Tests identifier
$test
Jyxo_Beholder_TestCase
Test instance

Returns

Jyxo_Beholder_Executor
Constants summary
string OUTPUT_TEXT 't'
#

Plaintext output.

Plaintext output.

string OUTPUT_HTML 'h'
#

HTML output.

HTML output.

string PARAM_OUTPUT 'o'
#

Output parameter.

Output parameter.

string PARAM_INCLUDE 't'
#

Parameter for including tests.

Parameter for including tests.

string PARAM_EXCLUDE 'nt'
#

Parameter for excluding tests.

Parameter for excluding tests.

Jyxo PHP Library API documentation generated by ApiGen 2.3.0