Actually, the book named 'The Pragmatic Programmer39; had an interesting section that was based on a previous article about driving a java GUI application...
1390
ghouston@...
Jun 4, 2001 2:43 pm
Has anyone tried to drive Functional Tests with JUnit? How did you accomplish it? In particular, how could you drive a Swing GUI? By "Functional Tests", I...
1389
kumar@...
Jun 4, 2001 9:36 am
all, [[This is not meant to be a flame-bait]] But jprobe & jtest, are not anywhere near Mercury-loadrunner is, <<another great product from jerusalem>>, when...
1388
Matt Caswell
m.caswell@...
Jun 4, 2001 7:12 am
... If these are indeed compex relationships then it may well be the case that refactoring the code is an appropriate course of action. Not all relationships...
1387
Sandhya Sree
sandhya.sree@...
Jun 4, 2001 6:44 am
Dear Sir, We are using apache jser 2.0 servlet engine. To use present version of cactus we need to have higher version of apache jserver 2.0. Now we can’t...
1386
SUDHIR Amanana
asudhir@...
Jun 4, 2001 6:01 am
Hi, Can we write Testcases for simpleservlets(i.e. without Httpservlet) using Cactus.Could you clarify me regarding.. Sudhir...
1385
Jalam Singh Bhati
jalams@...
Jun 4, 2001 4:15 am
Hi, You can test Java (or J2EE) application using Jtest (parasoft product) and Jprobe(product of Sitrika Inc) testing tools. JTest will test your code against...
1384
James Sinnamon
sinnamon@...
Jun 3, 2001 7:00 am
Michael, ... Perhaps I was overreacting, but, nevertheless it still completely escapes me how it could happen in any normal circumstances, unless there is ...
If this has only happened once, then the data or initialization is suspect. The good thing about software is that it is consistent. I'm not being smart. What...
1382
James Sinnamon
sinnamon@...
Jun 3, 2001 2:56 am
Thanks for the suggestions. The responses at least confirm that this should not happen if all of my assumptions are correct. The...
1381
Mike Clark
mike@...
Jun 2, 2001 6:47 pm
Just to rule out the possibility that another thread is removing the last element from the vector in between the isEmpty() and remove() statements, you could...
1380
Peter Spitz
pspitz@...
Jun 2, 2001 5:31 pm
The only thing I can think of is that the isEmpty() function is returning a value of "false" even if the array is empty. I'd put in a test for that. This...
1379
Jens Andersen
jensa@...
Jun 2, 2001 11:48 am
Hi All, First of all I would like to thank all of you who replyed to my last mail regarding tests of private/protected methods - YOU WHERE GREAT ;-). But now I...
1378
James Sinnamon
sinnamon@...
Jun 2, 2001 10:13 am
Dear Junit Users, Sorry for this off-topic message, but it is posible tah someone may be able to offer some useful advice: When I tested a program recently, I...
1377
emeade@...
Jun 2, 2001 4:25 am
http://www.c2.com/cgi/wiki?WhoIsUsingJunit lists a few projects and people who have/are using JUnit -- Erik Meade emeade@... Senior...
1376
Ram Kumar
ramjunit@...
Jun 1, 2001 11:27 pm
Hi Vijay, Any luck in getting good guidence on Junit testing? I am also in the same situation like you and struggling to figure out how to use Junit for Java ...
1375
Mike Clark
mike@...
Jun 1, 2001 8:04 pm
... I concur. I've found that testable code exhibits certain composable properties that foster interface-based design. For example, the assembly of a few...
1374
Steve Freeman
steve@...
Jun 1, 2001 7:14 pm
From: "Matt Caswell" <m.caswell@...> ... My experience is different. I've found that changing my coding style to make it testable (which doesn't...
1373
ghouston@...
Jun 1, 2001 7:02 pm
I also have the requirement that I don't have any test code in my production code. This also means I don't change the code just to enable testing....
1372
Michael Silverstein
msilverstein@...
Jun 1, 2001 4:44 pm
Well, if free is a problem I can take care of that :-). Test Mentor - Java Edition (www.silvermark.com) is a commercial Java component testing tool that has a...
1371
Lucas Filz
lucas.filz@...
Jun 1, 2001 4:18 pm
You could look in this newsgroup for a mail from Kent Beck where he forwarded a comparison of Java code testing frameworks. JUnit was the 2nd or 3rd best. I...
1370
Matt Caswell
m.caswell@...
Jun 1, 2001 4:05 pm
This would work for a single test case. However the problem occurs when running a TestSuite, i.e. you want to execute a TestCase for real B, you then want to...
1369
Andrew Clarke
andrew.clarke@...
Jun 1, 2001 3:58 pm
I suspect that it's the *tool* Mik is having to justify. My management is also very unhappy about the concept of using freeware to to do stuff that's mission...
1368
Blum, Robert
rblum@...
Jun 1, 2001 3:45 pm
Yes, JUnit was a success for us. No drawbacks - except the fact that the friggin machine finds your mistakes :-) But let me ask you a question - do you really...
1367
Mike Clark
mike@...
Jun 1, 2001 3:07 pm
Although, the limitation of this strategy is that it presumes separate source directories for chunks of the system, and the granularity of "mocking" is at the...
1366
Dinwiddie, George
George.Dinwiddie@...
Jun 1, 2001 3:03 pm
I think this illustrates the advantage of writing the tests first, as you automatically write testable code. ... From: Matt Caswell...
1365
Mike Clark
mike@...
Jun 1, 2001 2:52 pm
Just an observation, but it seems that option 6 could be achieved simply by placing the mock classes in a separate, but parallel, package directory structure...
1364
Matt Caswell
m.caswell@...
Jun 1, 2001 2:43 pm
Very interesting. It seems to me that you could use 1-5 in certain circumstances. However I think I would be reluctant to change the way my code was...
1363
ghouston@...
Jun 1, 2001 1:41 pm
There are several was to get Mock objects into your production code: 1. Parameters As Mr Freeman shows, you use parameters to pass the Mock into the class that...
1362
wegfn06@...
Jun 1, 2001 1:22 pm
Hi All, I am compiling a small piece of research about JUnit. I want my company to start using it, but in order to sell the idea I would like to be able to...