riverpod-testing
OfficialTest Riverpod providers and widgets
Authorserverpod
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies the process of testing Riverpod providers and widgets, enabling robust and isolated unit and widget tests.
Core Features & Use Cases
- Provider Testing: Write unit tests for Riverpod providers using
ProviderContainer.test(). - Widget Testing: Test widgets that depend on Riverpod providers by wrapping them in
ProviderScope. - Mocking: Easily mock providers using
overridesfor isolated testing scenarios. - Async Provider Awaiting: Test asynchronous provider values using
.future. - Listening/Spying: Monitor provider state changes during tests.
Quick Start
Use the riverpod-testing skill to write a unit test for a Riverpod provider.
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: riverpod-testing Download link: https://github.com/serverpod/skills-registry/archive/main.zip#riverpod-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 471,000+ vetted skills library on demand.