expresso
expresso copied to clipboard
FR: Setup own timeout for each serial test function
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