Codeceoption adjustments

- Removed hacks since these are no longer required: 71db233985
- Removed unused helper classes
- Added 2.0 style "actor" to config

Thanks to @Ragazzo and @DavertMik for helping with it.
This commit is contained in:
Alexander Makarov 2014-07-11 19:24:33 +04:00
parent 8e1d70c4d4
commit 539a6f0c59
7 changed files with 1 additions and 35 deletions

View File

@ -1,3 +1,4 @@
actor: Tester
paths:
tests: tests
log: tests/_log

View File

@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
class CodeHelper extends \Codeception\Module
{
public function _beforeSuite($settings = [])
{
include __DIR__.'/../unit/_bootstrap.php';
}
}

View File

@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
class TestHelper extends \Codeception\Module
{
public function _beforeSuite($settings = [])
{
include __DIR__.'/../functional/_bootstrap.php';
}
}

View File

@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
class WebHelper extends \Codeception\Module
{
public function _beforeSuite($settings = [])
{
include __DIR__.'/../acceptance/_bootstrap.php';
}
}

View File

@ -11,7 +11,6 @@
class_name: WebGuy
modules:
enabled:
- WebHelper
- PhpBrowser
# you can use WebDriver instead of PhpBrowser to test javascript and ajax.
# This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium

View File

@ -10,7 +10,6 @@ class_name: TestGuy
modules:
enabled:
- Filesystem
- TestHelper
- Yii2
config:
Yii2:

View File

@ -4,6 +4,3 @@
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
class_name: CodeGuy
modules:
enabled:
- CodeHelper