JUnit « Thread « Spring Q&A





1. Poor JUnit test using springframework has fragile Thread.sleep() calls. How to fix?    stackoverflow.com

I have recently joined a group with some severe JUnit testing issues. One problem is an 8 minute long test! The test has several sections; each makes calls to org.springframework.context.ApplicationEventPublisher.publishEvent() followed by ...

2. junit with threads    forum.springsource.org

junit with threads I am new to junit testing. I have come across a strange issue with junit test/spring running with thread. When the query happens within a thread, it did ...

3. multi-threaded junit Spring test    forum.springsource.org

multi-threaded junit Spring test I am testing my add method for thread safety using multi-threads. I open 3 threads, 2 of which should fail. The test would succeed when only one ...