Vitest Patterns
CommunityFast Vitest unit testing patterns.
Software Engineering#typescript#vitest#unit-testing#test-organization#testing-patterns#livestockai#vitest-setup
Authorcaptjay98
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Standardizes and accelerates unit testing in LivestockAI projects by providing reusable Vitest patterns and guidance to write consistent, fast, TypeScript tests.
Core Features & Use Cases
- Organized test structure: Clear separation of unit, property, and integration tests for scalable projects.
- Vitest-first workflow: Commands and conventions for running tests, collecting coverage, and debugging.
- Real-world coverage: Examples across core features like batches, sales, and notifications to illustrate patterns.
Quick Start
Install dependencies and run bun run test to start the Vitest-based test suite.
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: Vitest Patterns Download link: https://github.com/captjay98/livestockai/archive/main.zip#vitest-patterns 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.