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

locomotivemtl / charcoal-cms / 367 / 2
21%
master: 21%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2020 11:26PM UTC
Files 72
Run time 11s
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

03 Mar 2020 11:05PM UTC coverage: 20.679% (+6.8%) from 13.83%
367.2

push

travis-ci

mcaskill
Improve dynamic route handlers

Improved logic of route handlers to return 404 responses where the model or object route is missing, 500 responses when the model is invalid (such as incomplete templating details).

Added:
- Logs (debug/warning) to various route handlers to better track when issues arise
- Checks to validate rendered template view is not empty for matches the model's template identifier
- Catch to `*Route::load*FromPath()` methods to prevent nonexistent models from breaking the runtime
- Validation/Assertion methods to `GenericRoute` to determine if the context object or current object route are valid

Changed:
- Replaced 404 status codes with 500 when the failure does not stem from a missing model
- Refactored unit tests for route handlers

786 of 3801 relevant lines covered (20.68%)

1.34 hits per line

Source Files on job 367.2
  • Tree
  • List 0
  • Changed 10
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 328
  • Travis Job 367.2
  • f0d7effa on github
  • Prev Job for on master (#366.1)
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

© 2026 Coveralls, Inc