In the article "Test Infected" (http://junit.sourceforge.net/doc/testinfected/testing.htm), an example library for handling Money is used to demonstrate the...
... JUnit's ... any ... (0x400f0000) ... at least ... have it ... not, add ... Hi, Just wanted to take the time to thank you for your help, I was missing the...
I am using Ant to setup and teardown the testing environment: the mkdir, copy, and delete tasks. Furthermore, I am calling javac from Ant to test results of...
Hi, please look at my code package test; import junit.framework.TestCase; public class GopalTest extends TestCase { public GopalTest (String name) { ...
... out ... want ... I don't care if they are not written in Java, but I thought it would be nicer to have all tests under a single test system. So I also ...
Hi, I am testing a session Bean using cactus. I have my test class which calls a particular method of the session bean. I deployed it in a WAR File giving ...
Hi, Could someone tell me how to test methods that do not return any value. For example, the loadFromDatabase() or similar methods that do not return any value...
Veena, I cannot tell where you have your .class file since the javac portion of your build.xml is not shown. I am assuming from the run-junit target that you...
Lynne Lawrence
lgl@...
Jan 2, 2003 1:14 pm
6584
Hi Veena, The .class file is not placed at the location dir="${test}" mentioned in <fileset dir="${test}" includes="**/*Test.class"/> Take care that...
yes, perhaps... On Tue, 2002-12-31 at 07:36, Edwin Hautus wrote: I am using Ant to setup and teardown the testing environment: the mkdir, copy, and delete...
Hi Arvind, You should probably rather send this email to the Cactus mailing list (see the cactus web site for more information). Cheers, -Vincent ... ...
I see in the TestResult class there's a method wasSuccessful(). From within class that extends TestCase, I want to do something like this: public void...
hi, thanx for ur reply. i did go thru the link u told, but still not very clear as to what is the best way to test the databse related methods. is it better to...
Hello all, I've looked over the junit.org site and I've searched around on the web, but I'm coming up empty handed. I'm interested in developing a set of rfc...
Friends, In continuation of my efforts on Knowledge management , beginning this new year http://www.mywirelesskit.com/index.html would every day pick one...
Thanks Lynne ... From: Lynne Lawrence To: junit@yahoogroups.com Sent: Thursday, January 02, 2003 4:21 PM Subject: Re: [junit] junit and ant Veena, I cannot...
... Is this intended to be more efficient than just clearing the database every time the tearDown() method is invoked, or am I missing something? Mike -- Mike...
... Ah, but there were two questions in your original post. The FAQ addressed the one about testing methods that do not return a value. With regards to...
I only have one test in the TestCase, and if it fails, I want to leave the database in the state it was in when the test failed so I can inspect what happened....
I could use a conditional clean-up in tearDown, for exactly the same reason as Brian. When I first ran into this issue; I didn't think of trying to make the ...
Could you not use the opportunity to clean up your code such that you don't need to visually inspect the DB? I realize that there may be times when you...
... Hmm... that's a tough one. I don't know of a way to query the TestResult in this fashion. I'd try to build up fine-grained assertions in the test method...
No, you have a good point. The problem is that my test writes to the database, then I call the method that I'm unit testing which performs several database...
So far, I haven't needed to visually inspect the DB; I just want to keep that option open in the case of a test failure. WRT test dependencies, the pre-clean...
These are exceptional cases, right? So, throw specific exceptions that you can then catch in your test. For instance, some of our tables prevent duplicate...
No argument there... It sounded like that would be conditional logic though -- in which case it is test dependency. =jason [:question | ^One] ... Outgoing mail...