Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00%
0 / 1
0.00%
0 / 3
CRAP
0.00%
0 / 10
CestCase
0.00%
0 / 1
0.00%
0 / 3
12
0.00%
0 / 10
 _before($event)
0.00%
0 / 1
2
0.00%
0 / 3
 _after($event)
0.00%
0 / 1
2
0.00%
0 / 3
 _failed($event)
0.00%
0 / 1
2
0.00%
0 / 4
<?php
namespace Codeception;
/**
* This class is a metaclass for all Cest classes that you are using in your
* functional or acceptance tests.
*/
class CestCase
{
/**
*
* @param \Codeception\Event\Test $event
*/
public function _before($event)
{
}
/**
*
* @param \Codeception\Event\Test $event
*/
public function _after($event)
{
}
/**
*
* @param \Codeception\Event\Fail $event
*/
public function _failed($event)
{
$this->_after(new \Codeception\Event\Test($e->getTest()));
}
}