Demonstrating Test-Driven Development and Evolutionary Design in the long run
Download as MP4
Would a Timeout rule be a better alternative to @Test(timeout=...)? I personally always seem to forget those @Test arguments...@Rulepublic Timeout timeout = new Timeout(1000);
True. I wasn't aware of it or had forgotten about that the Timeout rule. Under the covers they both use the same mechanism, so the rule seems preferable due to less duplication.