JUnit with MultiThread [message #123763] |
Fri, 22 February 2008 07:31  |
Eclipse User |
|
|
|
Hi,
I am basically trying to unit test a multithreaded application app.
using JUnit. I have a scehenerio, where JUnit runs in a main
thread(launching my application)and I have a set of child threads running.
Once the unit of code gets tested, my main thread gets killed subsquently
killing the child threads. What i need is to run my applcation so that my
child thread can perfrom some actions on the Application.
I hope to get some support. Thanks in advance.
Regards
K. Abhishek
|
|
|
Re: JUnit with MultiThread [message #124063 is a reply to message #123763] |
Mon, 25 February 2008 07:35  |
Eclipse User |
|
|
|
Is this a TPTP JUnit test suite you are trying to run? Either way, is
sounds like this is an issue in the way you are writing your JUnit test code
to invoke your application, which is up to you as the test author to design.
PS
"Abhishek K" <a.kamakhya@zensar.com> wrote in message
news:064781bf32ae432261a391182ff4a8a9$1@www.eclipse.org...
> Hi,
> I am basically trying to unit test a multithreaded application app.
> using JUnit. I have a scehenerio, where JUnit runs in a main
> thread(launching my application)and I have a set of child threads running.
> Once the unit of code gets tested, my main thread gets killed subsquently
> killing the child threads. What i need is to run my applcation so that my
> child thread can perfrom some actions on the Application.
>
> I hope to get some support. Thanks in advance.
>
>
>
> Regards
> K. Abhishek
>
|
|
|
Powered by
FUDForum. Page generated in 0.03710 seconds