A little bit OT, but did anyone else find that the fixed header on the blog made the article less pleasant to read? I kept trying to get it off the screen to focus on the article, and it felt like it was "covering up" something I wanted to see.
I find it a little strange that this post mentions Expresso but not its successor Mocha, which appears to have been started about the same time as Whiskey.
Anyway, this looks like a valuable contribution, and it's always good to see more well-supported tools in the Node ecosystem.
I currently use mocha with the Jasmine-like interface, and I don't believe I will change.
What I am wondering is why a new code coverage module was built, yet wasn't made available as a separate module. Is it really that dependent upon this particular testing framework?
This is a nice achievement but I think if you extracted the process orchestration part and made it use mocha for test layout, running of individual test files, and reporting (which it does a really good job at) it would be more useful.
Check out the Makefile (https://github.com/cloudkick/whiskey/blob/master/Makefile) to see what `npm test` is doing. This abstracts out the test command, because you could be running `cake test`, `make test`, `node whiskey test`, etc. and if you're just using the node package, you probably don't care what the command is, you just want to run the tests. `npm test` is the way to do it.
[+] [-] Judson|14 years ago|reply
[+] [-] CGamesPlay|14 years ago|reply
[+] [-] pie|14 years ago|reply
Anyway, this looks like a valuable contribution, and it's always good to see more well-supported tools in the Node ecosystem.
[+] [-] kodablah|14 years ago|reply
What I am wondering is why a new code coverage module was built, yet wasn't made available as a separate module. Is it really that dependent upon this particular testing framework?
[+] [-] tomazmuraus|14 years ago|reply
The title might be a bit misleading, but a first commit to Whiskey was actually made about a year ago (https://github.com/cloudkick/whiskey/commits/master?page=12), before Mocha existed.
[+] [-] benatkin|14 years ago|reply
Also there's http://vowsjs.org/
This is a nice achievement but I think if you extracted the process orchestration part and made it use mocha for test layout, running of individual test files, and reporting (which it does a really good job at) it would be more useful.
[+] [-] tlack|14 years ago|reply
[+] [-] _harry|14 years ago|reply
So if you open the package.json (https://github.com/cloudkick/whiskey/blob/master/package.jso...) you'll see that `test` runs `make test`.
Check out the Makefile (https://github.com/cloudkick/whiskey/blob/master/Makefile) to see what `npm test` is doing. This abstracts out the test command, because you could be running `cake test`, `make test`, `node whiskey test`, etc. and if you're just using the node package, you probably don't care what the command is, you just want to run the tests. `npm test` is the way to do it.
[+] [-] benatkin|14 years ago|reply