Skip to content

Releases: yeoman/yeoman-test

v1.7.0

09 Jul 08:20
Compare
Choose a tag to compare
  • Update to yeoman-generator 1.x
  • Update to yeoman-environment 2.x

v1.6.0

01 Dec 07:42
Compare
Choose a tag to compare

Duck type the RunContext object as a Promise. It now directly expose then and catch on the prototype.

v1.5.1

17 Sep 21:55
Compare
Choose a tag to compare
  • Fix bug with RunContext#cd()

v1.5.0

08 Sep 17:48
Compare
Choose a tag to compare
  • Add RunContext#cd() function.

v1.4.0

03 May 07:02
Compare
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
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