init
This commit is contained in:
15
vendor/codeception/base/tests/data/bundled_suites/BasicTest.php
vendored
Normal file
15
vendor/codeception/base/tests/data/bundled_suites/BasicTest.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class BasicTest extends \Codeception\Test\Unit
|
||||
{
|
||||
/**
|
||||
* @var \UnitTester
|
||||
*/
|
||||
protected $tester;
|
||||
|
||||
// tests
|
||||
public function testMe()
|
||||
{
|
||||
$this->tester->assertTrue(true);
|
||||
$this->tester->comment('I am executed');
|
||||
}
|
||||
}
|
||||
26
vendor/codeception/base/tests/data/bundled_suites/_support/UnitTester.php
vendored
Normal file
26
vendor/codeception/base/tests/data/bundled_suites/_support/UnitTester.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
}
|
||||
13
vendor/codeception/base/tests/data/bundled_suites/codeception.yml
vendored
Normal file
13
vendor/codeception/base/tests/data/bundled_suites/codeception.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
actor: Tester
|
||||
paths:
|
||||
tests: .
|
||||
log: _output
|
||||
data: _data
|
||||
support: _support
|
||||
suites:
|
||||
unit:
|
||||
path: .
|
||||
class_name: UnitTester
|
||||
modules:
|
||||
enabled:
|
||||
- Asserts
|
||||
Reference in New Issue
Block a user