vyper-testing

Automates Vyper contract testing workflows using Titanoboa and Moccasin toolsets.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/rafael-abuawad/skills --skill vyper-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vyper-testing
Source: https://github.com/rafael-abuawad/skills/tree/main/vyper-testing
Command: npx skills add https://github.com/rafael-abuawad/skills --skill vyper-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vyper contract testing can be brittle and repetitive; this skill provides a cohesive approach using Titanoboa (boa) and Moccasin to streamline test creation, review, fuzzing, and coverage.

Core Features & Use Cases

  • Writing or reviewing test_*.py files for Vyper contracts
  • Creating conftest.py fixtures for contract deployments
  • Generating fuzz tests, gas profiles, and coverage reports
  • Testing blueprint/factory patterns, access control, and token logic
  • Pranking and private member access in Vyper contracts

Quick Start

Create tests under tests/ with fixtures in tests/conftest.py and write test_*.py files using boa and Moccasin patterns to begin Vyper contract testing.

Frequently Asked Questions about vyper-testing

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

FAQPage Schema
How do I write and run fuzz tests for Vyper contracts?

To run fuzz tests for Vyper contracts, generate test_*.py files using Titanoboa and Moccasin patterns. This approach automates comprehensive test workflows, supplying randomized inputs to validate contract logic and edge cases efficiently.

What's the best way to manage test fixtures for Vyper smart contracts?

The best way to manage Vyper test fixtures is by defining contract deployments within a tests/conftest.py file. This centralizes deployment logic and streamlines test creation using Titanoboa and Moccasin tooling across your test suite.

Can I generate gas profiling and coverage reports for Vyper tests?

Yes, you can generate gas profiling and coverage reports for Vyper tests. By applying Titanoboa and Moccasin workflows to your test_*.py files, the skill automates comprehensive coverage assessment and gas profiling outputs.

Does this Vyper testing workflow support pranking and private member access?

Yes, this Vyper testing workflow supports pranking and private member access. It leverages Titanoboa and Moccasin to automate testing of blueprint/factory patterns, access control, and token logic while allowing internal state manipulation.

Do I need specific directory structures and tools to test Vyper contracts?

Yes, testing Vyper contracts requires the boa and Moccasin tooling. You must organize your test files under a tests/ directory and place your deployment fixtures within tests/conftest.py to execute the automated workflows.