Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/instincts/co-change-awareness.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ When modifying these files, check if related files also need updates:
| `src/lib.rs` | `src/main.rs`, `src/parser/ast.rs`, tests |
| `src/evaluator/mod.rs` | `src/lib.rs`, `src/main.rs`, tests |
| `src/parser/ast.rs` | `src/lib.rs`, `src/parser/grammar.rs`, `src/evaluator/types.rs` |
| `src/main.rs` | `tests/cli_integration_tests.rs` |
| `src/main.rs` | `tests/cli_integration.rs` |
| `Cargo.toml` | `src/lib.rs`, `src/main.rs` |
| `src/parser/grammar.rs` | `src/parser/mod.rs`, `tests/parser_integration_tests.rs` |

Expand Down
4 changes: 2 additions & 2 deletions .claude/instincts/testing-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Follow these testing patterns:

1. **Unit tests**: Place in `#[cfg(test)] mod tests` within each source file
2. **Integration tests**: Add to `tests/` directory with `_tests.rs` suffix
3. **CLI tests**: Use `insta` snapshots in `tests/cli_integration_tests.rs`
3. **CLI tests**: Use `assert_cmd` subprocess tests in `tests/cli_integration.rs`
4. **Property tests**: Add to `tests/property_tests.rs` using `proptest`
5. **Benchmarks**: Add to `benches/` using `criterion` with `harness = false`

Expand All @@ -35,6 +35,6 @@ Coverage target: >85% with `cargo llvm-cov`
- 8 test files in `tests/` directory
- 3 benchmark files in `benches/`
- Every source file has inline `#[cfg(test)]` module
- `insta` used for snapshot testing CLI output
- `assert_cmd` used for subprocess-based CLI testing
- `proptest` used for property-based testing
- `criterion` used for benchmarks (not built-in bench)
4 changes: 2 additions & 2 deletions .claude/skills/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Target File -> Memory Mapper -> File Buffer
| `src/evaluator/mod.rs` + `src/lib.rs` | 8x | Evaluator changes exposed through lib API |
| `Cargo.toml` + `src/lib.rs` | 6x | Dependency changes affect library code |
| `src/lib.rs` + `src/parser/ast.rs` | 5x | AST changes re-exported through lib |
| `src/main.rs` + `tests/cli_integration_tests.rs` | 4x | CLI changes require test updates |
| `src/main.rs` + `tests/cli_integration.rs` | 4x | CLI changes require test updates |

## Clippy Configuration

Expand Down Expand Up @@ -128,7 +128,7 @@ impl ParseError {

### Test File Naming

- CLI tests: `tests/cli_integration_tests.rs`
- CLI tests: `tests/cli_integration.rs`
- JSON output: `tests/json_integration_test.rs`
- Parser: `tests/parser_integration_tests.rs`
- Properties: `tests/property_tests.rs`
Expand Down
Loading
Loading