Skip to content

Releases: yeoman/yeoman-test

v1.5.0

08 Sep 17:48

Choose a tag to compare

  • Add RunContext#cd() function.

v1.4.0

03 May 07:02

Choose a tag to compare

  • Update to support the latest yeoman-environment and yeoman-generator
  • RunContext#toPromise() now resolve the plugin with the path to the directory used as the generator execution root

v1.3.0

01 May 23:22

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

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

Choose a tag to compare

  • Update to latest yeoman-generator