init
This commit is contained in:
10
vendor/codeception/base/tests/data/included_mix/codeception.yml
vendored
Normal file
10
vendor/codeception/base/tests/data/included_mix/codeception.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
actor: Tester
|
||||
include:
|
||||
- src/*/*Pack
|
||||
paths:
|
||||
log: "_log"
|
||||
tests: "tests"
|
||||
data: "data"
|
||||
support: "support"
|
||||
settings:
|
||||
colors: false
|
||||
11
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/codeception.yml
vendored
Normal file
11
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/codeception.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace: AcmePack
|
||||
actor: Tester
|
||||
paths:
|
||||
tests: tests
|
||||
log: tests/_log
|
||||
data: tests/_data
|
||||
support: tests/_support
|
||||
settings:
|
||||
bootstrap: _bootstrap.php
|
||||
colors: false
|
||||
memory_limit: 1024M
|
||||
6
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/src/Acme.php
vendored
Normal file
6
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/src/Acme.php
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
namespace AcmePack;
|
||||
|
||||
class Acme
|
||||
{
|
||||
}
|
||||
26
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/_support/UnitTester.php
vendored
Normal file
26
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/_support/UnitTester.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace AcmePack;
|
||||
|
||||
/**
|
||||
* Inherited Methods
|
||||
* @method void wantToTest($text)
|
||||
* @method void wantTo($text)
|
||||
* @method void execute($callable)
|
||||
* @method void expectTo($prediction)
|
||||
* @method void expect($prediction)
|
||||
* @method void amGoingTo($argumentation)
|
||||
* @method void am($role)
|
||||
* @method void lookForwardTo($achieveValue)
|
||||
* @method void comment($description)
|
||||
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = null)
|
||||
*
|
||||
* @SuppressWarnings(PHPMD)
|
||||
*/
|
||||
class UnitTester extends \Codeception\Actor
|
||||
{
|
||||
use _generated\UnitTesterActions;
|
||||
|
||||
/**
|
||||
* Define custom actions here
|
||||
*/
|
||||
}
|
||||
8
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit.suite.yml
vendored
Normal file
8
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit.suite.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Codeception Test Suite Configuration
|
||||
#
|
||||
# Suite for unit (internal) tests.
|
||||
|
||||
class_name: UnitTester
|
||||
modules:
|
||||
enabled:
|
||||
- Asserts
|
||||
10
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit/BasicTest.php
vendored
Normal file
10
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit/BasicTest.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
namespace AcmePack\Test;
|
||||
|
||||
class BasicTest extends \Codeception\Test\Unit
|
||||
{
|
||||
function testAssert()
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
2
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit/_bootstrap.php
vendored
Normal file
2
vendor/codeception/base/tests/data/included_mix/src/foo/AcmePack/tests/unit/_bootstrap.php
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
// Here you can initialize variables that will be available to your tests
|
||||
5
vendor/codeception/base/tests/data/included_mix/support/NoTester.php
vendored
Normal file
5
vendor/codeception/base/tests/data/included_mix/support/NoTester.php
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
class NoTester extends \Codeception\Actor
|
||||
{
|
||||
|
||||
}
|
||||
1
vendor/codeception/base/tests/data/included_mix/tests/unit.suite.yml
vendored
Normal file
1
vendor/codeception/base/tests/data/included_mix/tests/unit.suite.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
class_name: NoTester
|
||||
10
vendor/codeception/base/tests/data/included_mix/tests/unit/SimpleTest.php
vendored
Normal file
10
vendor/codeception/base/tests/data/included_mix/tests/unit/SimpleTest.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class SimpleTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testSomething()
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user