Skip to content

Releases: yeoman/yeoman-test

v1.3.0

01 May 23:22
Compare
Choose a tag to compare

New methods:

  • RunContext#toPromise() returns a promise resolved when generator is done or rejected if it errored out. Return this value from your setup phase to let your test framework automatically handle errors.
  • RunContext#cleanTestDirectory() removes the directory in which the generator was run. This is probably unnecessary for most of you, but might be useful if your CI doesn't automatically clean up temporary directories.

Fixes

  • Automatically setup --force and --skip-cache flags to ease tests flow and prevent leaks onto your system.

v1.2.0

01 May 23:22
Compare
Choose a tag to compare

(simonb) Not sure what happened, I messed up that released. See v1.3.0 instead.

v1.1.0

14 Feb 23:00
Compare
Choose a tag to compare
  • Update to latest yeoman-generator