... I have created java interfaces that encapsulate the queries I need to make. The normal implementation of those interfaces is the code that knows about ...
74
janssens.debom@...
Dec 1, 2000 8:32 pm
I get the following failure when executing my test case... warning(junit.framework.TestSuite$1) "Cannot instantiate test case: testStore" What do I do wrong???...
75
David Corbin
dcorbin@...
Dec 2, 2000 1:41 pm
I think, for this line to work... return new TestSuite(DossierTest.class); you need to have a constructor that takes no arguments. Also, while I'm not sure by...
76
Benjamin Schroeder
schroeder@...
Dec 2, 2000 4:31 pm
... It should be OK, but not strictly necessary, to have the suite() method here. (The TestRunners will run a class without a suite() method in the same way,...
77
Paul Michali
pcm@...
Dec 2, 2000 5:27 pm
... CAVEAT: I'm a real newbie with Java and I've just started playing w/JUnit, but here's what I did... I took your file, commented out the local data members...
78
Steve Freeman
steve@...
Dec 2, 2000 5:59 pm
... You might also want to look at our paper from XP2000. http://www.sidewize.com/company/mockobjects.pdf P.S. Uncle Bob. Did I miss the announcement of your...
79
Chad Fowler
chadfowler@...
Dec 2, 2000 9:55 pm
... Also see ... Robert C. ... Where might one "see the book"? I can't find any information on it. Thanks, Chad...
80
a.adachi@...
Dec 3, 2000 7:31 pm
I'm writing an AppleScript version of jUnit and was wondering if someone might be able to answer a question or two that I've been pondering? In AppleScript,...
81
John Brewer
jbrewer@...
Dec 3, 2000 11:28 pm
... How about "runTestCases", for symmetry with Test's only other method, "countTestCases"? John Brewer Jera Design...
82
a.adachi@...
Dec 4, 2000 12:12 am
... method, ... If running Test cases is what the "run()" method ultimately does in all the objects of the Framework, including the various extensions and...
83
Andreas Heilwagen
andreas.heilwagen@...
Dec 4, 2000 11:54 am
How about just leaving it as it is because lots of people use it that way. The Mac version can use another name for the run() methods, but that should be no...
84
Keith Ray
keith.ray@...
Dec 4, 2000 6:45 pm
How about changing the name 'run' to 'runTest39;... It would be best if the SAME sources were available for Mac as well as other platforms. The Command Pattern...
85
crand@...
Dec 4, 2000 8:27 pm
I am trying to find ideas of how to extend the test cases to html. We have a java back end, and jsp which builds the final html. So how can we build test cases...
86
Andreas Heilwagen
andreas.heilwagen@...
Dec 4, 2000 8:54 pm
Hi, here are new versions of JUnitX and XPTest with a lot of new features people asked me to implement. And as well there is finally the big tutorial on how to...
87
Immanuel, Gidado-Yisa
avm3@...
Dec 4, 2000 9:20 pm
I came accross this Extension to Junit: http://www.c2.com/cgi/wiki?HttpUnit http://httpunit.sourceforge.net/ HttpUnit is a free, open source Java API for...
88
Coralee Allaby
cvallaby@...
Dec 4, 2000 9:29 pm
I've been using JUnit to test my Java classes for a few weeks now. I've reached a problem that others have encountered as well. Here's the problem: I've been...
89
vmassol@...
Dec 4, 2000 9:41 pm
Hi, Sorry if this is a FAQ but I couldn't find it answered anywhere ... Is it possible with JUnit 3.2 to order test methods, i.e. choose which test method to...
90
Anthony Adachi
a.adachi@...
Dec 4, 2000 10:05 pm
... As I mentioned before, the problem is that 'run' is a keyword in AppleScript so giving 'run()39; another name would be better for the AppleScript version of...
91
Andreas Heilwagen
andreas.heilwagen@...
Dec 4, 2000 10:12 pm
Ok, here are my 5 cents: Why don't you ask a Factory to give you a list of navigator types. After that get the navigator instances from the factory one by one...
92
Ilja Preuß
ilja.preuss@...
Dec 4, 2000 10:13 pm
... afaik the following should work: public static Test suite() { TestSuite suite = new TestSuite("MyTest"); suite.addTest(new MyTest("test1")); ...
93
Vera Peeters
vera.peeters@...
Dec 6, 2000 7:50 am
If you don't want to test your concrete classes, but only the they way your abstract class behaves in a certain context, you could also create a MockNavigator,...
94
Vera Peeters
vera.peeters@...
Dec 6, 2000 8:02 am
I think you shouldn't rely on the order of the test methods. From Martin Fowler's Refactoring-book (p98): "It is important to run setUp and tearDown each time...
95
Jamie Lawrence
hopeless@...
Dec 6, 2000 11:27 am
I have finally got around to using JUnit for some of the development work I do (all in Java). However, whilst JUnit is fine for testing "normal" classes I'm...
96
Jim Jackl-Mochel
jmochel@...
Dec 6, 2000 4:42 pm
There always seems to be one configuration or set of classes that takes up the majority of the test bed work. When I am testing distributed classes there are...
97
Gerry Wheeler
gwheeler@...
Dec 7, 2000 3:09 pm
I agree that each test should be independent (who am I to argue with Martin Fowler?), but I still like to be able to order the tests. If a small, supporting...
98
junit@egroups.com
Dec 7, 2000 3:47 pm
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the junit group. File : /AllTests.java ...
99
Duncan McGregor
dxm@...
Dec 7, 2000 4:03 pm
There was a question on the JUnit egroup a while ago about automatically running all test files. I've just uploaded AllTests.java to the...
100
Duncan McGregor
dxm@...
Dec 7, 2000 4:39 pm
I've just uploaded ZipAwareLoadingTestRunner.java to http://www.egroups.com/files/junit/. This subclass of LoadingTestRunner is able to load test classes which...
101
dsnider@...
Dec 8, 2000 2:13 am
Anyone notice exceptions from tests only hold partial stack frames? This makes debugging challenging unless you trap exceptions in your tests making them...
102
Gerry Wheeler
gwheeler@...
Dec 8, 2000 2:06 pm
What about enhancing InvocationTargetException so it holds a reference to another exception. Then the catch could instantiate a new exception, insert the...