feat(test): 框架测试基建基类TestCaseBase+app层入口+冒烟测试

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-07-18 00:12:41 +08:00
parent 44621b1e9d
commit 3f7050bf65
3 changed files with 334 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
/**
* app 层测试基建入口(空壳).
*
* 架构约束Base/App 铁律):每新增一个 Base 类,必须同时在 app/ 提供入口类。
* 本类是 extend/base/common/test/TestCaseBase 的 app 层入口,空壳继承。
*
* 业务测试用例应继承本类(而非直接继承 TestCaseBase业务 fixture 工厂
* (创建业务实体、业务表探针重写等)下沉到本类或其子类实现。
*/
namespace app\common\test;
class TestCase extends \base\common\test\TestCaseBase
{
}