class TestCase extends TestCase

Main Test Case

Methods

createApplication()

Creates the application.

void
poppyTestVendor(array $vendors = [])

Run Vendor Test

void
outputVariables(array|string $vars, string $description = '')

输出变量/使用 STD 标准输出, 不会出现测试错误

array
readJson($module, $path)

读取模块 Json 文件

faker()

No description

Details

at line 21
createApplication()

Creates the application.

at line 42
void poppyTestVendor(array $vendors = [])

Run Vendor Test

Parameters

array $vendors

test here is must class

Return Value

void

at line 54
protected void outputVariables(array|string $vars, string $description = '')

输出变量/使用 STD 标准输出, 不会出现测试错误

Parameters

array|string $vars 需要输出的内容
string $description

Return Value

void

at line 77
protected array readJson($module, $path)

读取模块 Json 文件

Parameters

$module
$path

Return Value

array

at line 98
protected Generator faker()

No description

Return Value

Generator

Exceptions

ApplicationException