story-kit: merge 175_story_add_rust_test_coverage_reporting_with_cargo_llvm_cov
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -8,6 +8,9 @@ store.json
|
||||
# Agent worktrees (managed by the server, not tracked in git)
|
||||
.story_kit/worktrees/
|
||||
|
||||
# Coverage reports (generated by cargo-llvm-cov, not tracked in git)
|
||||
.story_kit/coverage/
|
||||
|
||||
# Rust stuff
|
||||
target
|
||||
|
||||
|
||||
@@ -78,6 +78,10 @@ To support both Remote and Local models, the system implements a `ModelProvider`
|
||||
* `cargo clippy --all-targets --all-features` must show 0 errors, 0 warnings
|
||||
* `cargo check` must succeed
|
||||
* `cargo nextest run` must pass all tests
|
||||
* **Test Coverage:**
|
||||
* Generate JSON report: `cargo llvm-cov nextest --no-clean --json --output-path .story_kit/coverage/server.json`
|
||||
* Generate lcov report: `cargo llvm-cov report --lcov --output-path .story_kit/coverage/server.lcov`
|
||||
* Reports are written to `.story_kit/coverage/` (excluded from git)
|
||||
|
||||
### TypeScript / React
|
||||
* **Style:** Biome formatter (replaces Prettier/ESLint).
|
||||
|
||||
Reference in New Issue
Block a user