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

TAMULib / MetadataAssignmentToolUI / 233 / 1
83%
master: 82%

Build:
Build:
LAST BUILD BRANCH: tl-components
DEFAULT BRANCH: master
Ran 18 Dec 2019 05:47PM UTC
Files 46
Run time 4s
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

18 Dec 2019 05:47PM UTC coverage: 82.796%. Remained the same
233.1

push

travis-ci

kaladay
Simplify controller test writing for common checks: controller exists and controller method exists

The preferred method would be to use a utility function that accepts a few parameters.
The problem with the preferred method is the underlying error reporting in karma does not show the full stack trace using this approach.

As a compromize, this implements the same process for every controller.
This still results in a size reduction of code by placing the differences in a single array.

The error reporting messages are also improved.
- Before: "Is the controller defined should be defined for admin"
- After: "Is the controller defined for ROLE_ADMIN"
- Before: "Are the scope methods defined update role should be defined"
- After: "Is the scope method updateRole defined"

139 of 214 branches covered (64.95%)

Branch coverage included in aggregate %.

708 of 809 relevant lines covered (87.52%)

8.6 hits per line

Source Files on job 233.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 197
  • Travis Job 233.1
  • 130557f3 on github
  • Prev Job for on 2019_12-ui_test_improvements (#232.1)
  • Next Job for on 2019_12-ui_test_improvements (#234.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