·test-smart-contracts
!

test-smart-contracts

使用產生的客戶端和 algorandFixture 測試 Algorand 智能合約的模式。在為智慧合約編寫測試、設定測試裝置和部署、調試失敗的測試、測試多用戶場景或詢問 E2E 與單元測試時使用。強觸發器包括「如何測試我的合約」、「algorandFixture」、「測試失敗」、「LocalNet 測試」、「vitest 設定」、「盒子的基金合約」。

5安裝·0熱度·@algorand-devrel

安裝

$npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contracts

如何安裝 test-smart-contracts

透過命令列快速安裝 test-smart-contracts AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contracts
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:algorand-devrel/algorand-agent-skills。

SKILL.md

查看原文

Write integration tests for Algorand smart contracts using the algorandFixture and generated typed clients.

Always write integration tests unless the user explicitly requests unit tests. Integration tests run against LocalNet and test real contract behavior.

Test Framework: Both Vitest (default) and Jest are supported. The examples below use Vitest syntax, but Jest equivalents work identically.

使用產生的客戶端和 algorandFixture 測試 Algorand 智能合約的模式。在為智慧合約編寫測試、設定測試裝置和部署、調試失敗的測試、測試多用戶場景或詢問 E2E 與單元測試時使用。強觸發器包括「如何測試我的合約」、「algorandFixture」、「測試失敗」、「LocalNet 測試」、「vitest 設定」、「盒子的基金合約」。 來源:algorand-devrel/algorand-agent-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contracts
分類
!安全工具
認證
收錄時間
2026-02-25
更新時間
2026-03-10

Browse more skills from algorand-devrel/algorand-agent-skills

快速解答

什麼是 test-smart-contracts?

使用產生的客戶端和 algorandFixture 測試 Algorand 智能合約的模式。在為智慧合約編寫測試、設定測試裝置和部署、調試失敗的測試、測試多用戶場景或詢問 E2E 與單元測試時使用。強觸發器包括「如何測試我的合約」、「algorandFixture」、「測試失敗」、「LocalNet 測試」、「vitest 設定」、「盒子的基金合約」。 來源:algorand-devrel/algorand-agent-skills。

如何安裝 test-smart-contracts?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contracts 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/algorand-devrel/algorand-agent-skills