ThinkAdmin/phpunit.xml.dist
Anyon 4e2b7ab2fc test(quality): 增加 v8 回归测试与静态分析配置
补齐 v8 分支的自动化质量保障,使插件化迁移、发布安装和架构边界都能在目标仓库内验证。

主要内容:

- 新增 PHPUnit 配置和 smoke 测试,覆盖发布、安装与 think 命令加载。

- 新增根级 tests 用例,验证路由、构建器、插件边界和业务集成行为。

- 新增 PHPStan 配置与运行时 stub,避免 Composer 插件环境误报。

- 保留旧包、旧 View 和旧 helper 命名空间的防回归检查。
2026-05-08 15:31:09 +08:00

62 lines
4.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
beStrictAboutTestsThatDoNotTestAnything="false">
<testsuites>
<testsuite name="ThinkAdmin Safe Unit Suite">
<file>plugin/think-library/tests/CodeTest.php</file>
<file>plugin/think-library/tests/JwtTest.php</file>
<file>plugin/think-library/tests/CommonFunctionsTest.php</file>
<file>plugin/think-library/tests/ArchitectureBoundaryTest.php</file>
<file>plugin/think-library/tests/ComposerInstallBoundaryTest.php</file>
<file>plugin/think-library/tests/RouteTemplateBoundaryTest.php</file>
<file>plugin/think-library/tests/MultAccessDispatchTest.php</file>
<file>plugin/think-library/tests/ComposerDependencyBoundaryTest.php</file>
<file>plugin/think-library/tests/MigrationOwnershipTest.php</file>
<file>plugin/think-library/tests/FormBuilderTest.php</file>
<file>plugin/think-library/tests/PageBuilderTest.php</file>
<file>plugin/think-library/tests/RequestTokenServiceTest.php</file>
<file>plugin/think-plugs-install/tests/InstallCommandTest.php</file>
<file>plugin/think-plugs-system/tests/helper/PublishTest.php</file>
<file>plugin/think-plugs-system/tests/helper/IndexNameServiceTest.php</file>
<file>plugin/think-plugs-system/tests/helper/PluginMenuServiceTest.php</file>
<file>plugin/think-plugs-system/tests/RbacAccessTest.php</file>
<file>plugin/think-plugs-system/tests/ApiSystemControllerTest.php</file>
<file>plugin/think-plugs-system/tests/ApiQueueControllerTest.php</file>
<file>plugin/think-plugs-system/tests/AuthControllerTest.php</file>
<file>plugin/think-plugs-system/tests/BaseControllerTest.php</file>
<file>plugin/think-plugs-system/tests/ConfigPageRenderTest.php</file>
<file>plugin/think-plugs-system/tests/IndexControllerTest.php</file>
<file>plugin/think-plugs-system/tests/LoginControllerTest.php</file>
<file>plugin/think-plugs-system/tests/MenuControllerTest.php</file>
<file>plugin/think-plugs-system/tests/OplogControllerTest.php</file>
<file>plugin/think-plugs-system/tests/PlugsControllerTest.php</file>
<file>plugin/think-plugs-system/tests/QueueControllerTest.php</file>
<file>plugin/think-plugs-system/tests/UploadControllerTest.php</file>
<file>plugin/think-plugs-system/tests/UserControllerTest.php</file>
<file>plugin/think-plugs-system/tests/FileControllerTest.php</file>
<file>plugin/think-plugs-system/tests/ConsoleCssUtilityTest.php</file>
<file>plugin/think-plugs-account/tests/AccountRuntimeTest.php</file>
<file>plugin/think-plugs-account/tests/AccountIntegrationTest.php</file>
<file>plugin/think-plugs-account/tests/AccountCenterControllerTest.php</file>
<file>plugin/think-plugs-account/tests/AccountAdminListControllerTest.php</file>
<file>plugin/think-plugs-payment/tests/PaymentTest.php</file>
<file>plugin/think-plugs-payment/tests/PaymentRecordControllerTest.php</file>
<file>plugin/think-plugs-payment/tests/PaymentLedgerControllerTest.php</file>
<file>plugin/think-plugs-payment/tests/BalanceIntegrationTest.php</file>
<file>plugin/think-plugs-payment/tests/IntegralIntegrationTest.php</file>
<file>plugin/think-plugs-payment/tests/PaymentRecordIntegrationTest.php</file>
<file>plugin/think-plugs-payment/tests/PaymentLedgerIntegrationTest.php</file>
<file>plugin/think-plugs-system/tests/CommonFunctionsTest.php</file>
<file>plugin/think-plugs-worker/tests/CommonFunctionsTest.php</file>
<file>plugin/think-plugs-worker/tests/ProcessServiceTest.php</file>
<file>plugin/think-plugs-worker/tests/WorkerConfigTest.php</file>
<file>plugin/think-plugs-worker/tests/QueueServiceTest.php</file>
<file>plugin/think-plugs-wuma/tests/CodeTest.php</file>
<file>plugin/think-plugs-wemall/tests/PaymentEventIntegrationTest.php</file>
</testsuite>
</testsuites>
</phpunit>