FR: Setup own timeout for each serial test function #141

Open
ppcano opened this Issue Oct 19, 2011 · 0 comments

Comments

Projects
None yet
1 participant

ppcano commented Oct 19, 2011

It could be nice if the developer could configured the tests with the TimeOut, in which the test should run. I found myself writing many different integrations tests using different setTimeout for coordinating events, where each test must be run with a possible different timeout.

Now, i can either using the makefile or use same timeout for the same all tests in a suite.

Something like the code show below, could be implemented:

module.exports = {

timeouts: {
'myowntest': 1000
},

myowntest : function ( done ) {

done();

}

};

I don't know if this approach makes sense or not. Just wanted to let my preferences due to my current expresso use.

lg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment