aptos-move-testing

Guide testing of Aptos Move smart contracts with unit and integration tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/raintree-technology/claude-starter --skill aptos-move-testing-raintree-technology
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aptos-move-testing
Source: https://github.com/raintree-technology/claude-starter/tree/main/templates/.claude/skills/aptos/move-testing
Command: npx skills add https://github.com/raintree-technology/claude-starter --skill aptos-move-testing-raintree-technology

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides strategies for Move unit tests, integration tests, and debugging test failures on Aptos.

Core Features & Use Cases

  • Unit Tests: Standard #[test] tests for functions.
  • Integration Tests: Multi-signer workflows and end-to-end scenarios.
  • Debugging: Use stack traces and assertions to debug.

Quick Start

Ask for a Move unit test example with a signers-based test and an expected failure.

Frequently Asked Questions about aptos-move-testing

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

FAQPage Schema
How do I write unit tests for Aptos Move smart contracts?▼

Unit tests in Move use the #[test] attribute to verify individual functions. You define test functions with a test signer, call your contract functions, and use assertions to validate expected outcomes. The Skill provides code examples and setup steps for standard unit test patterns.

What's the best way to test multi-signer workflows and end-to-end scenarios in Move?▼

Integration tests cover multi-signer workflows and end-to-end scenarios by simulating real-world transaction flows across multiple accounts and resources. The Skill guides you through setting up integration tests with multiple signers and verifying complex state changes.

Can I use Move Prover for formal verification of smart contracts?▼

Move Prover provides formal verification to mathematically prove contract invariants and prevent logic errors. The Skill covers Move Prover setup, writing specifications, and running formal verification alongside unit and integration tests.

How do I debug Move test failures and verify test coverage?▼

Debugging uses stack traces and strategic assertions to isolate failures. The Skill explains how to read error outputs, add assertions for edge cases, and verify test coverage across multiple resources and account interactions.

What commands do I run to execute Move tests on Aptos?▼

The Skill provides the specific commands and assertions needed to run Move unit tests, integration tests, and Move Prover verification. It covers test execution workflows and how to validate invariants in real-world scenarios.