• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / routegroup
96%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.5.3
DEFAULT BRANCH: master
Repo Added 22 Feb 2024 08:55AM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-path-params-issue-22
branch: fix-path-params-issue-22
CHANGE BRANCH
x
Reset
  • fix-path-params-issue-22
  • better-root-handling
  • catch-all
  • cleanup
  • custom-not-found
  • feat/handle-root-without-redirect
  • fix-405-response
  • fix-issue-24-double-middleware
  • fix-issue-27-notfound-vs-405
  • master
  • mux-compat
  • pr19
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v1.0.0
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.2.0
  • refs/tags/v1.3.0
  • refs/tags/v1.3.1
  • refs/tags/v1.4.0
  • refs/tags/v1.4.1
  • refs/tags/v1.5.0
  • refs/tags/v1.5.1
  • refs/tags/v1.5.2
  • refs/tags/v1.5.3
  • static-files
  • update-golangci-lint

09 Aug 2025 05:44PM UTC coverage: 95.977% (+0.07%) from 95.906%
16852055127

Pull #23

github

umputun
refactor: split large test file into focused test files

- Fixed fragile HTTP method selection in tests (addressing PR review)
- Split 3367-line group_test.go into 6 focused test files:
  * group_test.go (560 lines) - core middleware and group tests
  * mount_test.go (584 lines) - mount operations and nested groups
  * routing_test.go (925 lines) - route handling and HTTP methods
  * notfound_test.go (202 lines) - custom 404 handler tests
  * fileserver_test.go (659 lines) - static file serving tests
  * pathparams_test.go (519 lines) - path parameters and URL encoding
- All 43 test functions preserved and passing
- Better organization for maintainability and parallel execution

Related: #22
Pull Request #23: Fix path parameter extraction in ServeHTTP

10 of 10 new or added lines in 1 file covered. (100.0%)

167 of 174 relevant lines covered (95.98%)

35.49 hits per line

Relevant lines Covered
Build:
Build:
174 RELEVANT LINES 167 COVERED LINES
35.49 HITS PER LINE
Source Files on fix-path-params-issue-22
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16852055127 fix-path-params-issue-22 refactor: split large test file into focused test files - Fixed fragile HTTP method selection in tests (addressing PR review) - Split 3367-line group_test.go into 6 focused test files: * group_test.go (560 lines) - core middleware and group tes... Pull #23 09 Aug 2025 05:45PM UTC umputun github
95.98
16852055320 fix-path-params-issue-22 refactor: split large test file into focused test files - Fixed fragile HTTP method selection in tests (addressing PR review) - Split 3367-line group_test.go into 6 focused test files: * group_test.go (560 lines) - core middleware and group tes... Pull #23 09 Aug 2025 05:45PM UTC umputun github
95.98
16851758358 fix-path-params-issue-22 Fix path parameter extraction in ServeHTTP Path parameters were not being populated when using mounted groups because ServeHTTP was calling Handler() and invoking the handler directly, bypassing ServeMux's routing which sets path parameters. Thi... Pull #23 09 Aug 2025 05:11PM UTC umputun github
95.98
16851746891 fix-path-params-issue-22 Fix path parameter extraction in ServeHTTP Path parameters were not being populated when using mounted groups because ServeHTTP was calling Handler() and invoking the handler directly, bypassing ServeMux's routing which sets path parameters. Thi... push 09 Aug 2025 05:10PM UTC umputun github
95.98
See All Builds (122)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc