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

locomotivemtl / charcoal-cms / 367
21%

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

pending completion
367

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

141 of 141 new or added lines in 4 files covered. (100.0%)

779 of 3793 relevant lines covered (20.54%)

5.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 367.1 03 Mar 2020 11:26PM UTC 0
20.71
Travis Job 367.1
2 367.2 03 Mar 2020 11:26PM UTC 0
20.68
Travis Job 367.2
3 367.3 03 Mar 2020 11:26PM UTC 0
20.51
Travis Job 367.3
4 367.4 03 Mar 2020 11:26PM UTC 0
20.51
Travis Job 367.4
Source Files on build 367
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #367
  • f0d7effa on github
  • Prev Build on master (#366)
  • Next Build on master (#371)
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