Search the web
Sign In
New User? Sign Up
agile-testing · Agile Software Testing
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Concurrency testing   Message List  
Reply | Forward Message #15735 of 18129 |
Re: Concurrency testing

Could you please elaborate?

 

Sorry, I don't know what is the "main test call parameter"

How should the individual test behave?

  • If I mock the server (shared resource), I will not be testing concurrency.
  • If I share the server, the test will probably fail: their asserts will not withstand concurrency conditions.

 

Thanks

 

Juan



--- In agile-testing@yahoogroups.com, "love" <lkafle@...> wrote:
>
> To use concurrent testing with Junit alone, please pass the test
> classes multiple times like class1,class2 in main test call
> parameter, and then use thereads to start each of these.
>
> --- In agile-testing@yahoogroups.com, "Carfield Yim" carfield@
> wrote:
> >
> > On Tue, Nov 11, 2008 at 9:23 PM, Juan Gabardini jgabardini@
> wrote:
> > > Thanks Yim and Mark!
> > >
> > > I'm searched on TDD messages and found something in line with
> Yim suggestion
> > > (by Rick Mugridge).
> > >
> > > I will do that. It is just a little annoying, because the bugs
> that I'm
> > > chasing seem to be related to concurrency. But it is common-
> sense, I must
> > > first be sure of the "sequential" behavior.
> > >
> >
> > In fact I face same situation that there is a racing condition
> among a
> > groups of legacy applications, might be we are able to create test
> > case to simulate and proof the fix is working. However due to
> various
> > constraints we actually not fix the issue but instead apply
> workaround
> > after racing condition offer. May be you can think in this area...
> Of
> > course this should not be good answer for most cases.
> >
>


Sat Nov 15, 2008 11:16 pm

jgabardini
Offline Offline
Send Email Send Email

Forward
Message #15735 of 18129 |
Expand Messages Author Sort by Date

Hi I'm working with a java application (pre-java5), that has some multi-threading functionalities. It had no (automated) test. I'm adding test as I evolve it. ...
Juan Gabardini
jgabardini
Offline Send Email
Nov 10, 2008
12:04 pm

Juan - you might get some great answers here but you will probably have better luck on the JUnit and TDD mailing lists. I know one of the two has had some...
Mark Levison
marklevison
Offline Send Email
Nov 10, 2008
3:17 pm

If there still no automated test, I would suggest you not start with this area, try something more easier first...
Carfield Yim
c8133594
Offline Send Email
Nov 10, 2008
5:56 pm

Hi Juan: I'm biased because I'm about to promote my own baby... Take a look at TestMaker (http://www.pushtotest.com) to see how to run JUnit test cases...
Frank Cohen
frankcohen2000
Online Now Send Email
Nov 10, 2008
6:09 pm

Hi Frank I will!... after some time programming sequential tests :P Thanks! Regards Juan...
Juan Gabardini
jgabardini
Offline Send Email
Nov 11, 2008
1:27 pm

Thanks Yim and Mark! I'm searched on TDD messages and found something in line with Yim suggestion (by Rick Mugridge). I will do that. It is just a little...
Juan Gabardini
jgabardini
Offline Send Email
Nov 11, 2008
1:23 pm

... In fact I face same situation that there is a racing condition among a groups of legacy applications, might be we are able to create test case to simulate...
Carfield Yim
c8133594
Offline Send Email
Nov 11, 2008
3:34 pm

To use concurrent testing with Junit alone, please pass the test classes multiple times like class1,class2 in main test call parameter, and then use thereads...
love
lkafle
Offline Send Email
Nov 13, 2008
9:25 pm

Could you please elaborate? Sorry, I don't know what is the "main test call parameter" How should the individual test behave? * If I mock the server...
Juan Gabardini
jgabardini
Offline Send Email
Nov 15, 2008
11:16 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help