dapp-test

Run Web3 dApp test suites with Vitest, Jest, or Bun and analyze failures.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/0xHoneyJar/construct-protocol --skill dapp-test
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dapp-test
Source: https://github.com/0xHoneyJar/construct-protocol/tree/main/skills/dapp-test
Command: npx skills add https://github.com/0xHoneyJar/construct-protocol --skill dapp-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the execution of Web3 dApp test suites, diagnoses failures with blockchain-specific context, and analyzes the coverage of contract interaction code.

Core Features & Use Cases

  • Test Execution: Runs Vitest, Jest, or Bun test suites.
  • Failure Diagnosis: Identifies and explains Web3-specific errors like RPC issues, BigInt mismatches, and revert reasons.
  • Coverage Analysis: Reports on the test coverage of contract interaction code (e.g., wagmi/viem hooks).
  • Test Scaffolding: Generates starter test files for untested contract interactions.

Quick Start

Use the dapp-test skill to run the project's test suite and analyze contract interaction coverage.

Frequently Asked Questions about dapp-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Web3 dApp tests and diagnose blockchain-specific failures?▼

Run Web3 dApp tests by executing suites with Vitest, Jest, or Bun, which then diagnoses failures by identifying blockchain-specific errors like RPC issues, BigInt mismatches, and contract revert reasons.

What is the best way to analyze test coverage for smart contract interaction code?▼

Analyzing test coverage for contract interaction code requires executing your dApp test suite and reporting on the coverage metrics for Web3 hooks, such as wagmi or viem interactions.

How do I generate missing test scaffolding for untested contract interactions?▼

Generate missing test scaffolding by analyzing your test suite to identify untested contract interactions and automatically producing starter test files to cover those code paths.

Can I use Vitest or Jest to test Web3 dApps with BigInt and RPC errors?▼

Yes, you can use Vitest, Jest, or Bun to test Web3 dApps, as the test runner detects your infrastructure and provides detailed post-run analysis of failures including BigInt mismatches and RPC errors.

Why does my Web3 test suite fail with revert reasons and RPC issues?▼

Your Web3 test suite may fail with revert reasons and RPC issues due to blockchain-specific interaction errors, which require detailed post-run analysis to diagnose and resolve.

Do I need pre-run environment checks for dApp testing infrastructure?▼

Yes, pre-run environment checks are required for dApp testing infrastructure to detect your setup and ensure the testing environment is correctly configured before executing the suite.