effect-testing
CommunityMaster Effect-based testing with Vitest.
Authorfront-depiction
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured approach to testing Effect-based applications using @effect/vitest and vitest, ensuring reliable behavior for services, layers, and time-dependent effects.
Core Features & Use Cases
- Guided testing approach: covers Effect-based functions, services, and layers, including time-dependent testing with TestClock.
- Property-based and error handling tests: demonstrates property-based tests and using Effect.flip/Exit for error scenarios.
- Use Case: author test suites that validate layered service compositions and effectful computations across time and failure scenarios.
Quick Start
Install the testing libraries and begin writing tests using it.effect and it.effect.prop. Provide test layers for dependencies and leverage TestClock for time control. Run tests with your project test command.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: effect-testing Download link: https://github.com/front-depiction/claude-setup/archive/main.zip#effect-testing 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.