Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Replace grunt-mocha #550

Closed
benhutchins opened this issue Jun 12, 2015 · 5 comments
Closed

Replace grunt-mocha #550

benhutchins opened this issue Jun 12, 2015 · 5 comments

Comments

@benhutchins
Copy link

grunt-mocha is becoming outdated and is not actively maintained. I recommend replacing it with https://github.com/vistaprint/grunt-js-test which offers the same features plus more, and is actively maintained and supported by a large company.

@arthurvr
Copy link
Member

Honestly, both of these tasks don't seem super high-quality. So I'd suggest to keep the current solution, as no concrete issues pop up. (Or am I wrong about that?)

@benhutchins
Copy link
Author

grunt-js-test is a little better off, but you may be right. grunt-mocha is simply using an outdated version of PhantomJS. I also contribute to grunt-js-test, which used to use grunt-mocha, but the dependency was removed because there were so many bugs in grunt-mocha. Just biased a little maybe. I'm new to using Yeoman, but when I used this generator I was sad to see the bug riddled testing library come back into my life. Plus, with grunt-js-test, I can actually debug the unit tests quickly, get coverage reports and perform selenium testing easily. All things that generator-webapp currently don't setup.

@silvenon
Copy link
Member

I also want a better plugin, especially if I know someone is maintaining it. I'll check grunt-js-test out one of these days.

@silvenon
Copy link
Member

grunt test was failing because of mocha.run(), I updated to latest generator-mocha where we made it run conditionally. Now it works fine.

I'll still check out grunt-js-test, I just wanted to get this fatal bug out of the way 😃

@eddiemonge
Copy link
Member

haha, I like that grunt-js-test hasnt been touched in 2 months but grunt-mocha had some commits recently.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants