Your tests can talk to third party logging facility, that your app also uses (like winston or Bunyan logs) to ensure that things you anticipate really happens.
On Wednesday, January 23, 2013, taterbase wrote: > I've been trying to gear my development to be more test oriented and one > thing I've run into was not being able to test the going-ons of my app that > happen internally without effect to the outside world. When a request comes > in I would like to make sure certain things happen within the server but I > have no real way to check on that. Custom middlewares come to mind but > there are other instances as well. I've resorted to setting custom headers > when in testing environments that only get sent if what I wanted happened > but this is not ideal. I feel like I may be missing something obvious with > testing stuff like this, any tips? > > -- > 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]<javascript:_e({}, 'cvml', '[email protected]');> > To unsubscribe from this group, send email to > [email protected] <javascript:_e({}, 'cvml', > 'nodejs%[email protected]');> > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- --------- Boris Egorov skype/gtalk/nickname: dolphin278 mobile: +7 905 728 1543 -- 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
