Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JUnit with MultiThread
JUnit with MultiThread [message #123763] Fri, 22 February 2008 07:31 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:JVM parameters
Next Topic:TestExecutionProcess calss and calling of postRun method
Goto Forum:
  


Current Time: Thu Jul 17 19:37:58 EDT 2025

Powered by FUDForum. Page generated in 0.03710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top