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

surminus / terragov / 66
72%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2018 06:20PM UTC
Jobs 1
Files 13
Run time 2s
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
66

Pull #20

travis-ci

web-flow
Refactor config into separate class

The CLI class is completely unyieldy and pretty much all the logic
exists in there, so this should be seperated out where possible and
other classes called.

Beginning with "config", where a lot of important logic takes place. I
have tidied up the code a little, and hopefully sanitised it so it is
easier to read.

Options take place as a hash so it's easier to pass stuff in, and easier
to test.

Cli class now has zero tests, so a mock should be created using the
"dryrun" option to see if we get the output we expect when passing in
different parameters.
Pull Request #20: Refactor config into separate class

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

244 of 399 relevant lines covered (61.15%)

2.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/terragov/config.rb
22
100.0
lib/terragov/cli.rb

Uncovered Existing Lines

Lines Coverage ∆ File
23
100.0
lib/terragov/cli.rb
Jobs
ID Job ID Ran Files Coverage
1 66.1 (2.4.0) 06 Feb 2018 06:20PM UTC 0
61.15
Travis Job 66.1
Source Files on build 66
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #66
  • Pull Request #20
  • PR Base - master (#63)
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