Hi, I think it isn't a good solution to merge different APIs. First, what's your intention? Maybe you should first try to identify your test domains, for...
20424
Kamal
kamal2222ahmed
Apr 1, 2008 2:45 pm
Bohm, Thanks for the excellent insight. First of all the application IS an API, for a web service and it has database, UI , and Business Logic. What i am...
20425
Böhm, Martin
martinboehms...
Apr 2, 2008 10:15 am
Hi, is it really necessary to test through all application layers? Your functional test sounds like a test of a simple business function no matter of the back...
20426
Kent Beck
kentlbeck
Apr 2, 2008 1:43 pm
Dear Alex, I hear that you are frustrated with the speed with which your suggestions are being incorporated into JUnit. As I stated in my message to you dated...
20427
Daniel Brolund
daniel.brolund
Apr 3, 2008 2:59 pm
Hi all, I've been looking around a bit for some sort of parallel execution of JUnit 4.4+ tests, but I didn't find much. So, I tried a few things myself and...
20428
James Abley
taboozizi
Apr 3, 2008 7:51 pm
... Hi Daniel, Nice thinking. Did you consider using java.util.concurrent.CountDownLatch and maybe the Executor framework? That might better communicate the...
20429
pankaj khare
pankaj_0405
Apr 4, 2008 11:29 am
Hi All i am working on unit testing of struts. it is successfully run but one problem is there verifyForward is not working. it shows error like ...
20430
toalexsmail
Apr 4, 2008 5:24 pm
Waiting for your explanation how I can fill in missing javadoc and to write automatic tests. See my answers below quoted text. ... a union ... Ok, I see. You...
20431
James Abley
taboozizi
Apr 4, 2008 10:03 pm
... Have you tried submitting patches? I see that you have created Feature Requests on Sourceforge, but I can't see any associated patch. I think that might be...
20432
novice junit
novice.junit@...
Apr 6, 2008 11:54 pm
Hi all Pros I am new to junit and have a task at hand. i need to build an automation test suite using junit to test these API. the api's called using http ...
20433
Böhm, Martin
martinboehms...
Apr 7, 2008 10:54 am
Hi, first you should know, that you have to dig in more advanced junit topics to cope with your task. For myself I read http://junit.sourceforge.net/ and the ...
20434
novice junit
novice.junit@...
Apr 7, 2008 6:09 pm
Hello Martin, Thanks much for your inputs on my query. have skimmed through the junit cookbook and the junit faq's posted by this mailing list. however, not...
20435
Böhm, Martin
martinboehms...
Apr 8, 2008 7:26 am
Hi, why you are using junit if your intention is not to write unit tests? Overall it sounds to be more a pure programming issue than a task of unit testing by...
20436
kelvsyc
Apr 10, 2008 10:08 am
I've just gotten into parameterized testing and customized JUnit4 Runners, but I have a few questions: How do I go about making a parameterized test for which...
20437
toalexsmail
Apr 10, 2008 10:35 pm
... What Parameterized runner does it takes a Collection that returns by @Parameterized method run over it, for each Object[] calls constructor of your class...
20438
toalexsmail
Apr 10, 2008 11:50 pm
I made a mistake in my previous posting. Unfortunately, until now my post wasn't posted, so I have no source to quote. I have waited a while, but it is very...
20439
toalexsmail
Apr 10, 2008 11:50 pm
I thought again and I found some other solutions. ... As I stated in my previous answer in Java the only way to supply default parameters to function (and to...
20440
Cédric Beust
cbeust
Apr 11, 2008 4:25 am
FYI, here is how we do it with TestNG, maybe something similar could be considered for inclusion in JUnit? @Parameters("port-number") @Test public void...
20441
kelvsyc
Apr 12, 2008 1:52 am
Suppose I have a test class, which I want to run with two different Runners. How would I do so without having to duplicate the test class (such that each copy...
20442
xisjulio
Apr 12, 2008 12:40 pm
The javadoc refence found in JUnit website was outdated, is about JUnit 4.0. I suggest the updated for the current version, 4.4, as had many changes since...
20443
kristoferamplitude
kristoferamp...
Apr 12, 2008 6:04 pm
Hi there. All the doco I see on JUnit talks about various annotations, like @Test, @Before and so on. I'm using Java 1.4 in Eclipse 3.2 with Junit 3.8.1 and...
20444
Joel Neely
joelneely
Apr 12, 2008 6:25 pm
Use the annotations on JUnit 4 with Java5. For JUnit3 on Java 1.4, use the naming conventions (e.g. methods named "testFoo...") -jn- On Sat, Apr 12, 2008 at...
20445
Kent Beck
kentlbeck
Apr 12, 2008 7:36 pm
I can't think of a built in way. However, I think you could write a compound runner that would take a list of runners. Now I'm curious, but I don't have time...
20446
Rula
usfce
Apr 14, 2008 5:23 am
... compound ... don't have ... Behalf Of ... class ... instantiate the particular runner that you want to run the test class under. Actually I am currently...
20447
Rula
usfce
Apr 14, 2008 5:23 am
... compound ... don't have ... Behalf Of ... class ... I would create an interface for the runners. Then at run-time, instantiate the particular runner that...
20448
pankaj khare
pankaj_0405
Apr 14, 2008 10:32 pm
if u want to use @test,@Before u have to configure junit4.4 jar file On Sat, Apr 12, 2008 at 7:53 PM, kristoferamplitude <kauer@...> ... -- Thanks &...
20449
Kamal
kamal2222ahmed
Apr 16, 2008 2:56 pm
Bohm, The reason for integrating all unit test frameworks, is that i am not taking the applications "class" as a unit to test. rather taking a functional test...
20450
zengcaihui19...
Apr 17, 2008 6:14 am
when I was reading junit4.4 source ,I find no notes or javadoc about ComparisonCompactor.java .So I hava difficult in understanding about...
20451
Kent Beck
kentlbeck
Apr 18, 2008 4:17 am
We don't document private classes. Having said that, I'll break that rule here :-) The goal of a ComparisonCompactor is to take two strings that differ and...
20452
Gregory M. Kapfhammer
gregorykapfh...
Apr 18, 2008 4:51 pm
===================================================================== CALL FOR PAPERS ... Testing: Academic and Industrial Conference - Practice and Research...