-
-
Notifications
You must be signed in to change notification settings - Fork 15
feat: integrate Sveltest testing patterns into MCP #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: integrate Sveltest testing patterns into MCP #105
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? |
Closes #103