direct-tests
OfficialFast, in-memory contract tests
Authorgenlayerlabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables developers to write and execute fast, in-memory tests for GenLayer intelligent contracts, eliminating the need for servers or Docker and significantly speeding up the development feedback loop.
Core Features & Use Cases
- Rapid Testing: Execute tests in approximately 30-50ms per test case.
- In-Memory Execution: No external dependencies like Docker or running nodes required.
- Mocking Capabilities: Mock web requests and LLM responses for isolated testing.
- VM Cheatcodes: Utilize powerful tools to manipulate VM state, sender, balance, time, and more.
- Use Case: Quickly iterate on contract logic by writing and running tests directly within your development environment, ensuring correctness before deploying to a testnet.
Quick Start
Run all direct mode tests using the command pytest tests/direct/ -v.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: direct-tests Download link: https://github.com/genlayerlabs/skills/archive/main.zip#direct-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.