before() public méthode

Announces the start of the test.
public before ( string $method )
$method string Test method just started.
 /**
  *    Announces the start of the test.
  *    @param string $method    Test method just started.
  *    @access public
  */
 function before($method)
 {
     parent::before($method);
     $this->setBrowser($this->createBrowser());
 }
Exemple #2
0
 /**
  *    Sets up a browser for the start of each
  *    test method.
  *    @access public
  */
 function before()
 {
     $this->_browser =& $this->createBrowser();
     parent::before();
 }