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

yeoman / generator / 372
94%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2013 07:09PM UTC
Jobs 1
Files 19
Run time –
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
372

Pull #354

travis-ci

SBoudrias
Refactor env.register logic

env.register now only accept the generator path as a String. This force
the generator.resolved behavior to be consistent. At the same time,
removed any check for `generator.raw`; this is an unexpected side effect
and obfuscate the code for very little gain.

Added env.registerStub method to allow adding stub generators as
function to the environment. A check is made on the function passed
to force stubbed generators to extend Base (this is done automatically).

Some test mechanics needed to be fixed in order to pass. This shouldn't
have changed the test logic.
Pull Request #354: Refactor env.register logic (Fix #353)

922 of 1080 relevant lines covered (85.37%)

89.51 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
35
100.0
/home/travis/build/yeoman/generator/lib/env.js
Jobs
ID Job ID Ran Files Coverage
1 372.1 (DEBUG="generators:*") 19 Oct 2013 07:09PM UTC 0
85.37
Travis Job 372.1
Source Files on build 372
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #372
  • Pull Request #354
  • PR Base - 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

© 2026 Coveralls, Inc