aztec-testing

Design, execute, and validate Aztec smart contract tests using TestEnvironment.

11|1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/critesjosh/aztec-claude-plugin --skill aztec-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aztec-testing
Source: https://github.com/critesjosh/aztec-claude-plugin/tree/main/skills/aztec-testing
Command: npx skills add https://github.com/critesjosh/aztec-claude-plugin --skill aztec-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Aztec developers need reliable, repeatable tests for smart contracts to ensure correctness and security before deployment, especially when dealing with private state and multi-user interactions.

Core Features & Use Cases

  • Deploy contracts in a simulated environment
  • Call private and public functions
  • Verify state changes
  • Test access control
  • Simulate multiple users
  • Debug failing tests and iterate quickly

Quick Start

Create a TestEnvironment, deploy a contract, and run a basic test to verify expected behavior.

Frequently Asked Questions about aztec-testing

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

FAQPage Schema
How do I test Aztec smart contracts in a simulated environment?

You can test Aztec smart contracts by creating a TestEnvironment to deploy contracts, call private and public functions, and assert state changes across multiple user accounts without needing a live network.

Can I simulate multiple users when testing Aztec contracts?

Yes, testing Aztec contracts supports simulating multiple users. You can handle distinct user accounts within the TestEnvironment to verify access control and multi-user interactions.

How do I write integration tests for private and public Aztec contract functions?

Integration tests for Aztec contracts are written by deploying the contract in a simulated TestEnvironment and executing calls to both private and public functions to verify their interactions.

What is the best way to debug failing Aztec smart contract tests?

The best way to debug failing Aztec tests is to run them in the simulated TestEnvironment, which allows you to quickly iterate, inspect state changes, and validate contract behavior locally.

Does testing Aztec contracts require setting up a live network?

No, testing Aztec contracts does not require a live network. You can use a simulated TestEnvironment to deploy contracts and execute tests locally for fast and repeatable validation.