Basically I need the opposite behaviour of the @Test(timeout=X)
annotation.
The problem I want to solve is to detect in some way that the method never ends (as a right behaviour). I am assuming that if the method didn't stop after X seconds, I am sure "it will never end".
Thanks!