Svelte Component Testing Support
See original GitHub issueWhat would you like?
Add support for Svelte in Component Testing
Things to consider
- Common setups around svelte. The
Getting Started
guide usesVite
- Documentation Updates
- Tests
Why is this needed?
No response
Other
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Component Testing in Svelte - This Dot Labs
Testing components using Jest and Testing Library can help you avoid errors when developing, and also can make you more confident when applying ......
Read more >How to test Svelte components - Tim Deschryver
Writing Svelte component tests with the Svelte Testing Library is simple. Let's take a look at the setup to get you started!
Read more >FAQ • Svelte
When it comes to testing the components, it is best to test the logic of the component and remember that the Svelte library...
Read more >Svelte Component Testing - Cypress Documentation
Cypress Component Testing supports Svelte 3+ in a variety of different frameworks: Svelte with Vite; Svelte with Webpack. Svelte is currently in alpha...
Read more >Testing a Svelte app with Vitest - LogRocket Blog
Currently, Svelte does not recommend a particular unit testing framework, and it does not advocate for a particular testing strategy.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Right, I didn’t realise you were on 8.5.
Definitely recommend upgrading first! When we release our Svelte support, it’ll be with Cypress 10 (latest version) in mind.
@slavco86 we sure can, it’s getting worked on https://github.com/cypress-io/cypress/pull/22862.
Are you using SvelteKit? I think Svelte + webpack combo will likely land before the full SvelteKit/Vite integration does.