> > Sounds like lots of extra work.
If you want the testing coverage, you have to put in the work. We regular mock out all external HTTP resources for many of our open-source projects. Results are very rewarding. This is what I would really like to do, but how to get the password > for the admin account over to travis-ci? > Maybe commit the password to github and cross fingers no-one will ever > find out? :-D If you don't want to mock out the resource, sure. I don't see a free couchdb instance used for unit testing to be a high value target for attack. On Wed, May 23, 2012 at 3:05 PM, Oliver Leics <[email protected]>wrote: > On Wed, May 23, 2012 at 11:38 PM, Marak Squires <[email protected]> > wrote: > > 1. Mock out communication with the couch entirely using something > > like https://github.com/flatiron/nock > > Sounds like lots of extra work. > > > 2. Have a remote couchdb hosted on http://iriscouch.com and have your > tests > > connect to it remotely > > This is what I would really like to do, but how to get the password > for the admin account over to travis-ci? > > Maybe commit the password to github and cross fingers no-one will ever > find out? :-D > > -- > 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 > -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. [email protected] -- 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
