[ class tree: PHPUnit ] [ index: PHPUnit ] [ all elements ]


Source Location: /PHPUnit-1.2.2/PHPUnit/GUI/HTML.php

Class Overview

This class provides a HTML GUI.



Inherited Variables

Inherited Methods

Class Details

[line 27]
This class provides a HTML GUI.

[ Top ]

Method Detail

PHPUnit_GUI_HTML (Constructor)   [line 42]

PHPUnit_GUI_HTML PHPUnit_GUI_HTML( [array $suites = array()])

the current implementation of PHPUnit is designed

this way that adding a suite to another suite only grabs all the tests and adds them to the suite, so you have no chance to find out which test goes with which suite therefore you can simply pass an array of suites to this constructor here


array   $suites   —  The suites to be tested. If not given, then you might be using the SetupDecorator, which detects them automatically when calling getSuitesFromDir()

[ Top ]

addSuites   [line 56]

void addSuites( object this $suites)

Add suites to the GUI


object this   $suites   —  should be an instance of PHPUnit_TestSuite

[ Top ]

show   [line 65]

void show( )

this prints the HTML code straight out

[ Top ]

Documentation generated on Mon, 11 Mar 2019 14:22:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.