Skip to content

test: add Windows tests#111

Merged
raszi merged 8 commits intoraszi:masterfrom
binki:windows-tests
Jan 31, 2017
Merged

test: add Windows tests#111
raszi merged 8 commits intoraszi:masterfrom
binki:windows-tests

Conversation

@binki
Copy link
Copy Markdown
Contributor

@binki binki commented Jan 2, 2017

Get tests running on Windows using various hacks and considerations for this non-unix platform.

binki added 7 commits January 1, 2017 21:14
exec() requires you to quote commands and arguments properly which is
hard to do in a cross-platform way correctly. spawn() requires more
work to handle output but avoids the need to quote commands correctly.

On Windows, commands (including node.exe) generally are accessible via
paths with spaces in them. This helps with raszi#109.
Creating symlinks requires elevated privileges on Windows.
So skip that part of the test on Windows.
Creating symlinks requires elevated privileges on Windows.
So skip that part of the test on Windows.
If you try to recreate a file too quickly after deleting it on
Windows it will give you EPERM. This is why things like graceful-fs
exist. Working around this in the tests by just not using the same
name in both file-test.js and file-sync-test.js.
Necessary to support node-0.6.
Apparently the 'close' event is not available, so that complicates
things.
@bryanhelmig
Copy link
Copy Markdown

This would be awesome to get merged.

@raszi raszi merged commit 42cd5f7 into raszi:master Jan 31, 2017
@raszi raszi changed the title Windows tests test: add Windows tests Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants