Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00%
0 / 1
0.00%
0 / 3
CRAP
0.00%
0 / 18
Group
0.00%
0 / 1
0.00%
0 / 3
20
0.00%
0 / 18
 before(Test $e)
0.00%
0 / 1
2
0.00%
0 / 3
 after(Test $e)
0.00%
0 / 1
2
0.00%
0 / 3
 getSubscribedEvents()
0.00%
0 / 1
6
0.00%
0 / 12
<?php
namespace Codeception\Platform;
use Codeception\Event\Test;
class Group extends Extension {
public static $group;
public function before(Test $e)
{
}
public function after(Test $e)
{
}
static function getSubscribedEvents()
{
$events = array();
if (self::$group) {
$events = array(
'test.before.'.self::$group => 'before',
'test.after.'.self::$group => 'after',
);
}
$events = array_merge($events, self::events());
return $events;
}
}