When I test the execution of a method that creates a child thread, the JUnit test ends before the child thread and kills it.
How do I force JUnit to wait for the chil
The basic technique that @Eyal outlined is what ConcurrentUnit is intended for. The general usage is:
See the ConcurrentUnit page for more info.