Skip to content

test: 建立真實伺服器測試矩陣 - #20

Merged
Command1264 merged 4 commits into
developfrom
codex/test/testlab-integration
Sep 22, 2026
Merged

Command1264 merged 4 commits into
developfrom
codex/test/testlab-integration

Conversation

@Command1264

Copy link
Copy Markdown
Owner

問題與結果

專案缺少可重複使用的真實 Spigot、Paper 與 Folia 測試入口,跨版本相容性只能靠臨時人工操作確認。此變更把共用 TestLab 接入 InviteCode,建立八個版本 profile、環境診斷、準備與啟動腳本,並記錄自動化 smoke test 證據。

變更內容

  • 建立 Spigot 1.8.8、1.12.2、1.16.5、最新版,以及 Paper 1.20.6、1.21.8、最新版與 Folia 最新版的測試矩陣。
  • 加入矩陣驗證、環境診斷、伺服器準備與啟動腳本。
  • 文件化開發期間的自動測試與發行前集中人工驗收流程。
  • 記錄 Issue 實作 Bukkit 指令、聊天輸入與管理操作 #10 實作在七個可用伺服器 profile 上的啟動、關閉、SQLite 持久化與 console 指令 smoke test 證據。

Folia 目前沒有可用的穩定 26.2 核心,因此保留 profile 與流程,但未宣稱已完成 Folia runtime 驗證。

驗證

  • scripts/test-servers/validate.ps1:8 profiles 通過,port 無衝突。
  • scripts/test-servers/doctor.ps1:7 個必要核心與全部 Java runtime 可用;Folia 核心標記為非必要且目前缺少。
  • mise exec java@local-8 -- .\gradlew.bat clean check shadowJar:通過,包含 Java 8 bytecode 與 plugin JAR 檢查。
  • git diff --check:通過。
  • 七個可用 profile 的自動 smoke test 與 Spigot 1.8.8、Paper 最新版重新啟動持久化測試:通過。

Refs #12

@Command1264
Command1264 merged commit 3b56df0 into develop Sep 22, 2026
4 checks passed
@Command1264
Command1264 deleted the codex/test/testlab-integration branch September 22, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant