2026年5月24日 跑 100 次測試是騙人的:如何真正決定 Property-Based Test 的執行次數 Property-based testing 預設跑 100 個範例是一種社交妥協,而非統計策略。以下是根據你的信心需求與 CI 預算來選擇執行次數的方法。 deep-divesproperty-based-testingtest-coverageshrinking
2026年5月23日 Rust 的 Property-Based 測試:找出單元測試漏掉的 Bug 範例導向的測試只涵蓋你想得到的輸入。Property-based 測試會產生隨機資料、檢查不變條件,並將失敗縮減到最小的反例。 deep-divesrustproperty-based-testingquickcheckproptest
2026年5月16日 AI 安全棧: types、contracts、property tests 與 mutation gates 如果你想讓 AI-generated code 能在正式環境站得住,光靠 code review 不夠。你需要一套從 type constraints 到 mutation testing 與 runtime containment 的分層安全棧。 ai-engineeringsafety-stacktypesdesign-by-contractproperty-based-testingmutation-testing
2026年5月15日 為什麼許多優秀的工程策略直到 AI 出現才真正變得划算 Design by contract、property-based testing、mutation testing、model checking 從來不是壞想法。真正的問題是它們長期需要太多專業判斷才能維持,而 AI 正在改變這筆帳。 ai-engineeringsoftware-reliabilitydesign-by-contractproperty-based-testingmutation-testing