sui-tester

Test SUI Move contracts with unit, integration, E2E, property-based, and gas benchmarks.

7|2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/first-mover-tw/sui-dev-agents --skill sui-tester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sui-tester
Source: https://github.com/first-mover-tw/sui-dev-agents/tree/main/skills/sui-tester
Command: npx skills add https://github.com/first-mover-tw/sui-dev-agents --skill sui-tester

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of testing SUI Move contracts, ensuring code quality, performance, and security through comprehensive test suites.

Core Features & Use Cases

  • Comprehensive Testing: Supports unit, integration, E2E, property-based, and gas benchmark tests.
  • Advanced Coverage Analysis: Provides detailed source and bytecode coverage reports with actionable suggestions for improvement.
  • Use Case: Developers can use this Skill to write robust unit tests for new Move modules, analyze test coverage to identify gaps, and run gas benchmarks to optimize contract performance before deployment.

Quick Start

Run all tests for your SUI Move project using the sui move test command.

Frequently Asked Questions about sui-tester

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

FAQPage Schema
How do I run comprehensive tests for SUI Move smart contracts?

To test SUI Move smart contracts comprehensively, you can execute unit, integration, E2E, property-based, and gas benchmark tests. This approach ensures code quality, performance, and security before deployment.

What is the best way to analyze code coverage gaps in Move contracts?

Analyzing code coverage in Move contracts involves generating detailed source and bytecode coverage reports. These reports provide actionable insights to identify untested paths and improve your test suites.

How do I benchmark gas usage for SUI Move modules?

Gas benchmarking for SUI Move modules measures computational cost and performance under various conditions. Running gas benchmarks helps optimize contract efficiency and prevents unexpected deployment costs.

Can I validate state invariants in Move using property-based testing?

Yes, property-based testing validates state invariants in Move by automatically generating diverse test inputs. This technique exposes edge cases and hidden logic flaws that standard unit tests often miss.

Does SUI contract testing support filtering specific test cases?

SUI contract testing supports advanced scenarios like regex filtering to execute specific test cases. This allows developers to isolate and run targeted tests quickly during development.