I think I have read somewhere that this is not guaranteed, it is just a result of the current implementation. Is this really guaranteed? /Håkan...
2225
Mike Clark
mike@...
Aug 1, 2001 7:06 pm
JDepend 2.0 is now available with the following new features: Version: 2.0 Date: 08.01.01 Description: Support class file parsing Changes: - Added support for...
2226
david@...
Aug 1, 2001 7:41 pm
I've started a Distributed JUnit project on sourceforge http://sourceforge.net/projects/djunit/ , but have not had any time to write the code. Perhaps members...
2227
Bill Northlich
billn@...
Aug 1, 2001 10:05 pm
I though I sent this before but I guess not. Can anyone offer any pointers on how to write xuint tests for ui code? Thanks /b...
2228
kentbeck@...
Aug 2, 2001 2:11 am
... before B(), B() before C(). I have individual test cases for each method. In order to run the tests in the specified order, I must arrange the actual...
2229
bhanu prakash
bhanu_sistla@...
Aug 2, 2001 5:33 am
hi all Their are some problems in junit which are as follows 1) when we write a test case for a method i write 2 cases that is success and failure... suppose...
2230
Håkan Danielsson (...
hakan.danielsson@...
Aug 2, 2001 6:23 am
There has been a long discussion about this topic with pros and cons during the last month. There is also a third alternative in which you let the framework...
2231
Neil Swingler
nswingler@...
Aug 2, 2001 8:34 am
I suppose, one could write an assertThrows to be passed a method object e.g void assertThrows( Method method, Object object, Object[] parameters, Class ...
2232
Alain RAVET
aravet@...
Aug 2, 2001 2:03 pm
Hi, I don't know if it can be implemented with Swing, but I think the swingui TestRunner misses a [stay on top] option. I like the feel good effect of the...
2233
Narayan, Anand
anarayan@...
Aug 2, 2001 2:04 pm
If I wanted to pass some configuration information to a TestCase through command line arguments, is there a way to do this using the JUnit framework....
2234
Thomas Obst
thomas_obst@...
Aug 2, 2001 2:07 pm
What about using a properties file?...
2235
Jason Rogers
jason.rogers@...
Aug 2, 2001 2:09 pm
Or just having the properties on the command line ("-D option"). -Jason ... http://docs.yahoo.com/info/terms/ To unsubscribe from this group, send an email to:...
2236
Mathieu Gervais
egoine_@...
Aug 2, 2001 3:13 pm
... Not at all. The method is designed as "validate this thing, if ok, let it pass, if not throw a ValidationException). You can find tons of method like that...
2237
Mark Johnson
mfjohnson98@...
Aug 2, 2001 6:21 pm
I have encountered an interesting problem with JUnit 3.7. When the tested code runs into a call to the reflection method 'isAssignableFrom()' Class method, ...
2238
Narayan, Anand
anarayan@...
Aug 2, 2001 6:27 pm
I've encountered a similar problem with using JNDI to look up EJBs from a JUnit TestCase. In this case using the swingui or ui causes a ClassCastException when...
2239
Shane Duan
sduan@...
Aug 2, 2001 6:28 pm
This smells like one of the class loader issue. Probably you can try to put the class that you are testing into the excluding list in the property file....
2240
Dinwiddie, George
George.Dinwiddie@...
Aug 3, 2001 12:27 pm
Sometimes, not always, when I first invoke the Swing TestRunner, I get a discrepancy in the displayed "Runs:" value. It appears as if some events may be...
2241
Narayan, Anand
anarayan@...
Aug 3, 2001 7:23 pm
Anand Narayan (302) 255-8027 _______________________________________________________ Juniper Bank "Rated #1 in Customer Confidence" Gomez Inc., Summer 2001...
2242
J. B. Rainsberger
jbrains762@...
Aug 3, 2001 7:42 pm
... Certainly a fine design. I don't know why I didn't think of that at the time, but... ... Agreed; however, I find it nice to go on the assumption that a...
2243
Mathieu Gervais
egoine_@...
Aug 3, 2001 8:13 pm
... means ... many ... Interesting comment. What if the tested code throw a NullPointerException? You catch it and fail()? So All your tests contain try...
2244
Robert Sartin
sartin@...
Aug 3, 2001 8:51 pm
... Usually, I'd let that go as an Error. It's an ambiguous case because the method under test could be throwing that because of bad arguments or because of a...
2245
David Avraamides
davraamides@...
Aug 4, 2001 5:11 am
... In the past I tried to make this same distinction, but I found in practice that it was often arbitrary. Often, I'll change code that invalidates existing...
2246
J. B. Rainsberger
jbrains762@...
Aug 4, 2001 3:54 pm
... stuf...around ... I'm not sure I understand your last comment, so let me try to address your question. "What if the tested code throws a...
2247
Dineshram
dineshram@...
Aug 4, 2001 5:25 pm
I have to test the following java handler public class DailyListingSplitHandler extends StatsHandler { private Connection conn; private CallableStatement...
2248
Steve Freeman
steve@...
Aug 4, 2001 5:49 pm
... So, RequestObject does not implement HttpServletRequest and ResponseObject does not implement HttpServletRequest? Otherwise the compiler would not require...
2249
Dineshram
dineshram@...
Aug 4, 2001 6:34 pm
Thanks. ... From: Steve Freeman [mailto:steve@...] Sent: Saturday, August 04, 2001 12:49 PM To: junit@yahoogroups.com Subject: Re: [junit] cast exception...
2250
Eric Vought
evought@...
Aug 5, 2001 5:27 am
One of the distinctions I have often found useful is whether a failure is a test precondition or postcondition failure. This is especially true where there is...
2251
Paul Hodgetts
prh@...
Aug 5, 2001 6:37 pm
We are developing a J2EE-based web application, and we've been getting better and better at our testing. Recently we reached a pain threshold that's causing...
2252
Mike Duffy
mduffy_lists@...
Aug 5, 2001 7:13 pm
In my opinion, developers should not write the web page navigation and contents tests. This is not unit testing. This is functional testing that should be...
2253
Paul Hodgetts
prh@...
Aug 5, 2001 9:28 pm
... Yes, it is a blurry line. IMHO, the QA team should write tests that prove the functionality is available to the user. Since the user accesses the...