provider-test-patterns 是做什麼的?
使用 terraform-plugin-testing 搭配 Plugin Framework 的 Terraform Provider 接受度測試模式。涵蓋測試結構、TestCase/TestStep 欄位、自訂 statecheck.StateCheck 實作的 ConfigStateChecks、計畫檢查、跨步驟斷言的 CompareValue、設定輔助函式、使用 ImportStateKind 的匯入測試、sweepers,以及情境模式(基本、更新、消失、驗證、回歸)和使用 echoprovider 套件的短暫資源測試。在編寫、審查或除錯 Provider 接受度測試時使用,包含關於 statecheck、plancheck、TestCheckFunc、CheckDestroy、ExpectError、匯入狀態驗證、短暫資源或如何結構化測試檔案的問題。