gitwtfhub

wtf is yeoman-test?

mbwhite/yeoman-test — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2018-08-01

JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

TL;DR

A testing toolkit for Yeoman generators that automates simulating generator runs, supplying prompt answers, and checking the generated files, instead of testing by hand.

Mindmap

mindmap
  root((yeoman-test))
    What it does
      Run generators in tests
      Simulate prompt answers
      Verify generated output
    Tech stack
      JavaScript
      Yeoman
    Use cases
      Test generator file output
      Test prompt handling
      Automate generator QA
    Audience
      Yeoman generator developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Write automated tests that run a Yeoman generator and verify it creates all the expected files.

REASON 2

Simulate answering a generator's prompts programmatically instead of manually typing responses each test run.

REASON 3

Check that a generator respects different user choices and still produces valid code.

REASON 4

Add yeoman-test as a dev dependency to catch generator regressions before publishing an update.

What's in the stack?

JavaScriptYeomanNode.js

How it stacks up

mbwhite/yeoman-test3rd-eden/ircb.ioa15n/a15n
LanguageJavaScriptJavaScriptJavaScript
Last pushed2018-08-012016-11-162019-04-07
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

The README points to the full Yeoman documentation site for specific utility usage.

License is not stated in the available content.

Yoink these prompts

Prompt 1
Show me how to install yeoman-test as a dev dependency and write a basic test for my Yeoman generator.
Prompt 2
Help me use yeoman-test to simulate answering my generator's prompts and check the resulting files.
Prompt 3
Explain how yeoman-test lets me verify a generator produces valid code across different user choices.
Prompt 4
Walk me through setting up an automated test suite for a Yeoman generator using yeoman-test.

Frequently asked questions

wtf is yeoman-test?

A testing toolkit for Yeoman generators that automates simulating generator runs, supplying prompt answers, and checking the generated files, instead of testing by hand.

What language is yeoman-test written in?

Mainly JavaScript. The stack also includes JavaScript, Yeoman, Node.js.

Is yeoman-test actively maintained?

Dormant — no commits in 2+ years (last push 2018-08-01).

What license does yeoman-test use?

License is not stated in the available content.

How hard is yeoman-test to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is yeoman-test for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.