Worth to note however, that using before and after doesn't change the fact that you need an external variable referencing to the server instance, in order to be able to close it.

> On 23.1.2014, at 17.06, Aaron Heckmann <notifications@github.com> wrote:
> 
> In test/server-test.js:
> 
> > @@ -113,6 +115,18 @@ module.exports = {
> >                      done();
> >                  });
> >              });
> > +        },
> > +
> > +        'should return a valid error if the server stops responding': function(done) {
> > +            soap.createClient('http://localhost:15099/stockquote?wsdl', function(err, client) {
> > +                assert.ok(!err);
> > +                server.close(function() {
> this use of server is confusing me. may be better to wrap the server startup/shutdown with in before() and after() so its more clear we clean up appropriately.
> 
> \
> Reply to this email directly or view it on GitHub.