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:
parent
8e1d70c4d4
commit
539a6f0c59
@ -1,3 +1,4 @@
|
|||||||
|
actor: Tester
|
||||||
paths:
|
paths:
|
||||||
tests: tests
|
tests: tests
|
||||||
log: tests/_log
|
log: tests/_log
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
namespace Codeception\Module;
|
|
||||||
|
|
||||||
class CodeHelper extends \Codeception\Module
|
|
||||||
{
|
|
||||||
public function _beforeSuite($settings = [])
|
|
||||||
{
|
|
||||||
include __DIR__.'/../unit/_bootstrap.php';
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
namespace Codeception\Module;
|
|
||||||
|
|
||||||
class TestHelper extends \Codeception\Module
|
|
||||||
{
|
|
||||||
public function _beforeSuite($settings = [])
|
|
||||||
{
|
|
||||||
include __DIR__.'/../functional/_bootstrap.php';
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
namespace Codeception\Module;
|
|
||||||
|
|
||||||
class WebHelper extends \Codeception\Module
|
|
||||||
{
|
|
||||||
public function _beforeSuite($settings = [])
|
|
||||||
{
|
|
||||||
include __DIR__.'/../acceptance/_bootstrap.php';
|
|
||||||
}
|
|
||||||
}
|
|
@ -11,7 +11,6 @@
|
|||||||
class_name: WebGuy
|
class_name: WebGuy
|
||||||
modules:
|
modules:
|
||||||
enabled:
|
enabled:
|
||||||
- WebHelper
|
|
||||||
- PhpBrowser
|
- PhpBrowser
|
||||||
# you can use WebDriver instead of PhpBrowser to test javascript and ajax.
|
# 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
|
# This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium
|
||||||
|
@ -10,7 +10,6 @@ class_name: TestGuy
|
|||||||
modules:
|
modules:
|
||||||
enabled:
|
enabled:
|
||||||
- Filesystem
|
- Filesystem
|
||||||
- TestHelper
|
|
||||||
- Yii2
|
- Yii2
|
||||||
config:
|
config:
|
||||||
Yii2:
|
Yii2:
|
||||||
|
@ -4,6 +4,3 @@
|
|||||||
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
|
||||||
|
|
||||||
class_name: CodeGuy
|
class_name: CodeGuy
|
||||||
modules:
|
|
||||||
enabled:
|
|
||||||
- CodeHelper
|
|
||||||
|
Loading…
Reference in New Issue
Block a user