Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JUnit with MultiThread
JUnit with MultiThread [message #123763] Fri, 22 February 2008 12:31 Go to next message
Kamakhya Abhishek is currently offline Kamakhya AbhishekFriend
Messages: 6
Registered: July 2009
Junior Member
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 12:35 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
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 Apr 25 15:10:03 GMT 2024

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

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

Back to the top