This commit is contained in:
2020-10-06 14:27:47 +07:00
commit 586be80cf6
16613 changed files with 3274099 additions and 0 deletions

View 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');
}
}

View 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
*/
}

View File

@@ -0,0 +1,13 @@
actor: Tester
paths:
tests: .
log: _output
data: _data
support: _support
suites:
unit:
path: .
class_name: UnitTester
modules:
enabled:
- Asserts