Limit execution time of test?


#1

Is there a way to set a maximum time for a test? Something like this https://github.com/junit-team/junit4/wiki/timeout-for-tests

Thanks!


#2

That was the subject of this earlier thread.

@hoodie Did you ever get the time limiting working for you?


#3

I didn’t pursue this much further.
What I meant to do was start my test in a thread and kill it after a certain time.
In that thread we pointed out how to kill a thread, though I never actually tried it at home :smiley:
It would be cool if this was a feature of Rusts testing functionality though.