I really like Mocha, but I have a problem ordering the execution of async tests:
http://stackoverflow.com/questions/9736429/how-can-i-execute-async-mocha-tests-nodejs-in-order Thanks, Chris. On Friday, 16 March 2012 09:02:20 UTC, Chris Dew wrote: > > Thanks, I'll have a look at Mocha. > > On Thursday, 15 March 2012 21:40:19 UTC, Chad Retz wrote: >> >> What I do in Mocha is simply take the done callback and call it with >> success once I hit the event and either have a timeout otherwise or call >> the done callback with an error on an "end" if I know the proper event >> wasn't emitted. >> >> On Thursday, March 15, 2012 12:26:43 PM UTC-5, Chris Dew wrote: >>> >>> I'm currently using Vows, but finding it difficult to write tests to >>> respond to the firing of events from objects which util.inherits >>> EventEmitter. >>> >>> Has anyone had success testing EventEmitters in other frameworks? >>> >>> Thanks, >>> >>> Chris. >>> >> -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
