·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