From 2540bee0d12634327254c2242ef2557415ad128e Mon Sep 17 00:00:00 2001 From: wpdev Date: Fri, 31 Jul 2026 10:44:14 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20CHANGELOG=20=E8=A8=98=E9=8C=84=20integr?= =?UTF-8?q?ation=20=E6=B8=AC=E8=A9=A6=E5=A5=97=E4=BB=B6=E8=88=87=20Listing?= =?UTF-8?q?StatsTest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57ff261..a792510 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,17 @@ Versioning follows [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Added + +- `tests/integration/`:bootstrap(複用核心的 integration bootstrap,連真實 + MariaDB)+ `phpunit-integration.xml` + CI job,移植 5 個測試檔 + (`HivepressIntegrationTest`、`HivepressTermCommentFieldsTest`、 + `HivepressTransientFilterTest`、`ListingMetaInterceptorTest`、 + `TermCommentBackfillTest`),共 57 tests。 +- `tests/unit/ListingStatsTest.php`(9 tests)。unit bootstrap 先 define + `TMDO_TEST_SKIP_LISTING_STATS_STUB`,核心 bootstrap 便會跳過它的 + `TMDO_Listing_Stats` stub,改載入本 AddOn 的真實實作。145 → 154 tests。 + - Phase 3 implementation in progress. ---