YahooArchive / arrow

FE Test framework designed to promote TDD
http://yahoo.github.io/arrow/arrow_intro.html
BSD 3-Clause "New" or "Revised" License
55 stars 59 forks source link

callback with error message if controller execution is timeout #141

Closed bowdev closed 10 years ago

bowdev commented 10 years ago

Added a new timeout setting, "testWaitingTimeout". The default "testWaitingTimeout" is 60000 ms (60 seconds)

User can override the default settings in test parameter or config. The "testWaitingTimeout" settings in test parameter will override all other settings.

And the timeout error message is "Waiting controller execution timeout ("+testWaitingTimeout+" ms)."

if testWaitingTimeout is 60000 ms, the message is

"Waiting controller execution timeout (60000 ms)."

bowdev commented 10 years ago

should also redo it in arrow.js runController

proverma commented 10 years ago

we need to timeout execute mehod, not the callback. Lets discuss about it offline. I am closing this PR.