Sveltest
Sveltest
A comprehensive collection of testing patterns and
examples
for modern Svelte applications
Community Driven
Sveltest is a community resource built by developers, for developers. Your contributions help make testing better for everyone in the Svelte ecosystem.
Contribute Code
Add new testing examples, improve existing patterns, or help with documentation. Every contribution makes the resource better.
View on GitHubReport Issues
Found a bug or have a suggestion? Open an issue on GitHub. Your feedback helps us improve the testing experience.
Report IssueShare Knowledge
Share your testing patterns, contribute examples from your projects, or help others learn through discussions.
Join DiscussionJoin the Community
Help us build the most comprehensive Svelte testing resource
Everything You Need
Comprehensive testing tools and examples for building robust Svelte applications
Cursor Rules
Pre-configured AI assistant rules for Cursor that enforce testing best practices automatically when editing test files
View RulesDevin Desktop
Formerly Windsurf. Use the shared Svelte testing skill in .agents/skills instead of maintaining separate editor-specific rules.
View Devin SetupCLAUDE.md
Comprehensive guidance for Claude Code with personas, testing patterns, and project-specific rules for optimal AI assistance
View GuideShared Testing Skill
One Svelte testing skill with detailed references in .agents/skills. Reuse it across compatible agents, including Devin Desktop and Claude Code.
View SkillTesting Types
Unit, integration, and component testing examples using Vitest and vitest-browser-svelte
Best Practices
Learn testing best practices and patterns specific to Svelte applications
Real-world Examples
Practical testing scenarios you'll encounter in production applications
Ready to Start Testing?
Dive into our comprehensive examples and start building more reliable Svelte applications today.