Skip to content

Make the tests more versatile #450

Closed
sindresorhus opened this Issue Sep 14, 2012 · 1 comment

3 participants

@sindresorhus
Yeoman member

They break too easily since they rely on the stdout.

Needs to improve this, by eg. using fs.stat() instead and other stuff.

@sleeper
sleeper commented Sep 15, 2012

Additionally it's not easy to test the stdout when the test process is spawning a child process which launch the server ... The child never return and your test is failing due to the timeout.

@mklabs mklabs referenced this issue in yeoman/generator Sep 16, 2012
Merged

Fixes for #42 / #44 #54

@mklabs mklabs added a commit that closed this issue Sep 16, 2012
@mklabs mklabs test - replace stdout checks and test against the file system
for the test build. Close #450
0a69166
@mklabs mklabs closed this in 0a69166 Sep 16, 2012
@szinya szinya pushed a commit to menthainternet/yeoman that referenced this issue Sep 17, 2014
@mklabs mklabs test - replace stdout checks and test against the file system
for the test build. Close #450
f1769e4
@mklabs mklabs added a commit that referenced this issue Apr 24, 2015
@mklabs mklabs test - replace stdout checks and test against the file system
for the test build. Close #450
dd70f2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.