forked from yeoman/yeoman
-
Notifications
You must be signed in to change notification settings - Fork 2
test base
Mickael Daniel edited this page Jul 29, 2012
·
1 revision
# yeoman.generators.Base
## generator.run(args, cb)
should run all methods in the given generator.
## generator.runHooks(cb)
## generator.argument(name, config)
## generator.option(name, config)
## generator.hookFor(name, config)
## generator.defaultFor(config)
## generator.desc(decription)
## generator.help()
## generator.usage()
## generator.optionsHelp()
this.dummy.run();
should have the _running flag turned on.
assert.ok(this.dummy._running);