Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

ppcano opened this issue Oct 19, 2011 · 0 comments

Comments

@ppcano
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant