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 Cursor RulesWindsurf Rules
Modern rule system with trigger-based activation for Windsurf. Same comprehensive patterns optimized for advanced AI capabilities
View Windsurf RulesTesting 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.