| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 0 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 0 | 1 | 1 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 0 only in B- − TDD
Commands
neither file has anySection tags
0 shared · 1 only in A · 1 only in B- − testing-strategy
- + code-style
Line diff
aviemet/inventory · .cursor/rules/conventions.mdc
@@ −1 @@
1---
2description:
3globs:
4alwaysApply: true
5---
6
7Only work on the task at hand. Limit the scope of your response to exactly what is being worked on in the moment.
8
9### TDD
10
11For every change, find the corresponding test and ensure it passes.
12Ensure that the tests accurately test the interfaces, adjusting tests as needed to accurately test the intention of the code. Do not change tests to fit the implementation just to make them pass. The tests need to accurately indicate the intention of the code, and the code needs to be made to pass the tests, not the other way around.
13
14* For ruby files, tests are in /rspec
15* For typescript files, tests are in /app/frontend/tests
aviemet/inventory · .cursor/rules/rspec.mdc
@@ +1 @@
1---
2description:
3globs: *_spec.rb
4alwaysApply: false
5---
6Avoid using `let` when setting up tests. Prefer setting up state and context in each test rather than introducing indirection by using `let`.
7
8In request specs, when testing inertia related responses and props, use the inertia rspec helpers.
9
@@ −1 +1 @@
11 ---
22 description:
3−globs:
4−alwaysApply: true
3+globs: *_spec.rb
4+alwaysApply: false
55 ---
6+Avoid using `let` when setting up tests. Prefer setting up state and context in each test rather than introducing indirection by using `let`.
67
7−Only work on the task at hand. Limit the scope of your response to exactly what is being worked on in the moment.
8+In request specs, when testing inertia related responses and props, use the inertia rspec helpers.
89
9−### TDD
10−
11−For every change, find the corresponding test and ensure it passes.
12−Ensure that the tests accurately test the interfaces, adjusting tests as needed to accurately test the intention of the code. Do not change tests to fit the implementation just to make them pass. The tests need to accurately indicate the intention of the code, and the code needs to be made to pass the tests, not the other way around.
13−
14−* For ruby files, tests are in /rspec
15−* For typescript files, tests are in /app/frontend/tests
