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,7 @@
include:
- src/*/*Pack
- src/*/*/*Pack
paths:
log: "_log"
settings:
colors: false

View File

@@ -0,0 +1,8 @@
namespace: SpamPack
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support

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,4 @@
class_name: UnitTester
modules:
enabled:
- Asserts

View File

@@ -0,0 +1 @@
<?php

View File

@@ -0,0 +1,11 @@
namespace: EwokPack
actor: Tester
paths:
tests: tests
log: tests/_log
data: tests/_data
support: tests/_support
settings:
bootstrap: _bootstrap.php
colors: false
memory_limit: 1024M

View File

@@ -0,0 +1,6 @@
<?php
namespace EwokPack;
class Ewok
{
}

View File

@@ -0,0 +1,26 @@
<?php
namespace EwokPack;
/**
* 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,8 @@
# Codeception Test Suite Configuration
#
# Suite for unit (internal) tests.
class_name: UnitTester
modules:
enabled:
- Asserts

View File

@@ -0,0 +1,10 @@
<?php
namespace EwokPack\Test;
class BasicTest extends \Codeception\Test\Unit
{
function testAssert()
{
$this->assertTrue(true);
}
}

View File

@@ -0,0 +1,11 @@
namespace: ToastPack
actor: Tester
paths:
tests: tests
log: tests/_log
data: tests/_data
support: tests/_support
settings:
bootstrap: _bootstrap.php
colors: false
memory_limit: 1024M

View File

@@ -0,0 +1,6 @@
<?php
namespace ToastPack;
class Toast
{
}

View File

@@ -0,0 +1,26 @@
<?php
namespace ToastPack;
/**
* 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,8 @@
# Codeception Test Suite Configuration
#
# Suite for unit (internal) tests.
class_name: UnitTester
modules:
enabled:
- Asserts

View File

@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests

View 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

View File

@@ -0,0 +1,6 @@
<?php
namespace AcmePack;
class Acme
{
}

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

View File

@@ -0,0 +1,8 @@
# Codeception Test Suite Configuration
#
# Suite for unit (internal) tests.
class_name: UnitTester
modules:
enabled:
- Asserts

View File

@@ -0,0 +1,10 @@
<?php
namespace AcmePack\Test;
class BasicTest extends \Codeception\Test\Unit
{
function testAssert()
{
$this->assertTrue(true);
}
}

View File

@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests