Elffuss BraidHub

kikocis/continue public

Merge pull request #6555 from continuedev/pe/running-tests-rule

chore: create test-running-guide.md
Changeset845b4f2ce14e7830e896c832d307a9181233c595aa19030dc5d052fc8ab95758
AuthorDallin Romney <dallinromney@gmail.com> · 2025-07-10 22:23 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-10 22:23 -07:00
Parentsae308d6082a6, f344e1d9244a

Browse the files at this changeset

1 file changed

added .continue/rules/test-running-guide.md +25 −0
@@ -0,0 +1,25 @@
1+---
2+globs: ["gui/**/*", "core/**/*"]
3+description: Provides test running instructions for GUI and core folders
4+alwaysApply: false
5+---
6+
7+When working with test files, use the following commands to run tests:
8+
9+GUI folder tests:
10+
11+- Run all tests: `cd gui && npm test`
12+
13+Core folder tests:
14+
15+- Run Jest tests: `cd core && npm test`
16+- Run Vitest tests: `cd core && npm run vitest`
17+
18+Test file patterns:
19+
20+- GUI: _.test.ts or_.test.tsx files use Vitest
21+- Core: _.test.ts files use Jest,_.vitest.ts files use Vitest
22+
23+Best practices:
24+
25+- We are transitioning to vitest, so use that when creating new tests