Skip to content

Commit c7edde5

Browse files
authored
Merge pull request #3127 from codecrafters-io/pk-branch-5
docs: improve development workflow linting and testing guidelines
2 parents 83b0d52 + 92f18b7 commit c7edde5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.cursor/rules/development-workflow.mdc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ alwaysApply: true
55
When you're asked to make changes, follow these rules:
66

77
- Say consistent with the rest of our codebase. Read other files to understand what our patterns are.
8-
- Don't run tests using `npm test`, those are extremely slow. Just use `npm run lint` instead.
8+
- Run `npm run lint` after making changes.
9+
- Once linting is successful, you can try running tests if there are ones that cover the area you changed.
10+
- Use `npx run ember test --module '<module-name>'` to run tests.
11+
- If you know the test file, the module name is at the top (`module('...', function (hooks) { ... })`)
12+
- If you're unsure about the test file, ask me.
13+
- Don't run `npm run test`, that's super slow.
914
- Don't run commands like `npm run build` / `npm run start`.
1015

0 commit comments

Comments
 (0)