cpr icon indicating copy to clipboard operation
cpr copied to clipboard

Test on Windows

Open stevenvachon opened this issue 7 years ago • 6 comments

…with AppVeyor. If you set up the [free] account, I can upload the config file.

stevenvachon avatar Jun 22 '17 14:06 stevenvachon

I'm not opposed to adding this, I'm not a Windows user so I would be able to even fix issues if the build were to break.

davglass avatar Jun 26 '17 12:06 davglass

Added the AppVeyor build info..

davglass avatar Jul 10 '17 16:07 davglass

It's building now & the build fails (which we knew) but it's ready to be tested on.

davglass avatar Jul 10 '17 16:07 davglass

I didn't know that it failed on Windows. Why are we using "jenkins-mocha"? I'd think that regular mocha would be sufficient.

Also, the AppVeyor config file could benefit from additional options: https://github.com/stevenvachon/edit-dotenv/blob/master/.appveyor.yml

stevenvachon avatar Jul 10 '17 17:07 stevenvachon

jenkins-mocha wraps mocha which istanbul and provides coverage in a single command. Not sure why it's not working as I'm not a Windows user. Feel free to send a PR with the proper configs, I've never used Appveyor before and have no idea how it works and little time to explore all the options.

davglass avatar Jul 10 '17 17:07 davglass

nyc (the all-in-one istanbul CLI) wraps mocha simply:

nyc mocha test.js

stevenvachon avatar Jul 10 '17 18:07 stevenvachon