feat: integrate Sveltest testing patterns into MCP#105
feat: integrate Sveltest testing patterns into MCP#105Vinay-Khanagavi wants to merge 2 commits intosveltejs:mainfrom
Conversation
- Add new get-sveltest-patterns tool for vitest-browser-svelte - Include 6 Sveltest documentation sections with use cases - Update svelte-task prompt with testing tool instructions - Support pattern types: setup, component-testing, form-testing, locators, runes-testing, mocking, troubleshooting, best-practices - Add optional component_type parameter for specific examples Closes sveltejs#103
🦋 Changeset detectedLatest commit: f7f391f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@Vinay-Khanagavi is attempting to deploy a commit to the Svelte Team on Vercel. A member of the Team first needs to authorize it. |
|
Hey, thanks for this...however I think we would need a different approach:
|
|
Thanks for the feedback @paoloricciuti — that makes sense! Keeping docs in sync would definitely be tricky. okay cool, I’ll take help from @spences10 for setting up the |
|
Sure 😄 |
|
I made sveltest for my team and then used those use cases to make IDE rules so the gang can take those files for their preferred workspace: Cursor: https://github.com/spences10/sveltest/blob/main/.cursor/rules/testing.mdc
There is an The rules files should be enough to go off of |
|
@spences10 do you think it would be possible to subdivide the rules into different endpoints and provide a list? |
|
here you go: https://sveltest.dev/api/examples |
|
also feel free to contribute to it |
|
Thanks @spences10 for the API endpoint, looks cool. From https://sveltest.dev/api/examples, @paoloricciuti — I see two options:
Any Suggestions !!! |
Closes #103