From ff7493ebb526c2fabacb4e2c9535f41e87586cf2 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 23 Feb 2026 23:43:39 +0000 Subject: [PATCH] story-kit: create 127_story_test_coverage_http_mod_rs --- .../127_story_test_coverage_http_mod_rs.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .story_kit/work/1_upcoming/127_story_test_coverage_http_mod_rs.md diff --git a/.story_kit/work/1_upcoming/127_story_test_coverage_http_mod_rs.md b/.story_kit/work/1_upcoming/127_story_test_coverage_http_mod_rs.md new file mode 100644 index 0000000..3e8c9a2 --- /dev/null +++ b/.story_kit/work/1_upcoming/127_story_test_coverage_http_mod_rs.md @@ -0,0 +1,27 @@ +--- +name: "Add test coverage for http/mod.rs (39% -> 70%+)" +--- + +# Story 127: Add test coverage for http/mod.rs + +Currently at 39% line coverage (77 lines, 47 missed). This is the HTTP route setup and server initialization module. + +## What to test + +- Route registration (all expected paths are mounted) +- CORS configuration +- Static asset serving setup +- Server builder configuration +- Any middleware setup + +## Notes + +- May need integration-style tests that start a test server and verify routes exist +- Or test the route builder functions in isolation +- Follow patterns from existing HTTP module tests + +## Acceptance Criteria + +- [ ] Line coverage for `http/mod.rs` reaches 70%+ +- [ ] Tests pass with `cargo test` +- [ ] `cargo clippy` clean