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

yeoman / generator / 370
94%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2013 08:41PM 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
370

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)

896 of 1059 relevant lines covered (84.61%)

13.61 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 370.1 (DEBUG="generators:*") 18 Oct 2013 08:41PM UTC 0
84.61
Travis Job 370.1
Source Files on build 370
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #370
  • Pull Request #354
  • PR Base - master (#368)
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