testing とは?
Foundry を使用したスマート コントラクト テスト — 単体テスト、ファズ テスト、フォーク テスト、不変テスト。何をテストするのか、何をテストしないのか、LLM が何を間違えるのか。 ソース: austintgriffith/ethskills。
Foundry を使用したスマート コントラクト テスト — 単体テスト、ファズ テスト、フォーク テスト、不変テスト。何をテストするのか、何をテストしないのか、LLM が何を間違えるのか。
コマンドラインで testing AI スキルを開発環境にすばやくインストール
ソース: austintgriffith/ethskills。
You test getters and trivial functions. Testing that name() returns the name is worthless. Test edge cases, failure modes, and economic invariants — the things that lose money when they break.
You don't fuzz. forge test finds the bugs you thought of. Fuzzing finds the ones you didn't. If your contract does math, fuzz it. If it handles user input, fuzz it. If it moves value, definitely fuzz it.
You don't fork-test. If your contract calls Uniswap, Aave, or any external protocol, test against their real deployed contracts on a fork. Mocking them hides integration bugs that only appear with real state.
Foundry を使用したスマート コントラクト テスト — 単体テスト、ファズ テスト、フォーク テスト、不変テスト。何をテストするのか、何をテストしないのか、LLM が何を間違えるのか。 ソース: austintgriffith/ethskills。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/austintgriffith/ethskills --skill testingFoundry を使用したスマート コントラクト テスト — 単体テスト、ファズ テスト、フォーク テスト、不変テスト。何をテストするのか、何をテストしないのか、LLM が何を間違えるのか。 ソース: austintgriffith/ethskills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/austintgriffith/ethskills --skill testing インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/austintgriffith/ethskills