junit不适合作线程测试?

我用junit的写了个test case, 其中启动了一个无限循环运行的线程,结果运行TEST CASE时这个线程早早地终止了,搞得我排错排了半天!

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.