Search the web
Sign In
New User? Sign Up
junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 6575 - 6604 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
6575
In the article "Test Infected" (http://junit.sourceforge.net/doc/testinfected/testing.htm), an example library for handling Money is used to demonstrate the...
Brendan Humphreys <br...
brendan_hump...
Offline Send Email
Jan 2, 2003
2:04 am
6576
... 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...
chaz <cchoy@...>
honorable_crane
Online Now Send Email
Jan 2, 2003
2:04 am
6577
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...
Edwin Hautus <ehautus...
ehautus
Offline Send Email
Jan 2, 2003
2:04 am
6578
Hi, please look at my code package test; import junit.framework.TestCase; public class GopalTest extends TestCase { public GopalTest (String name) { ...
veena_uin <veena.g@...>
veena_uin
Offline Send Email
Jan 2, 2003
2:04 am
6579
Hi, can anybody send me 2 test classes(written using Junit) and a build.xml file in(ant) to run these test classes using <batchtest>. thanks Veena...
veena_uin <veena.g@...>
veena_uin
Offline Send Email
Jan 2, 2003
2:04 am
6580
... 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 ...
Edwin Hautus <ehautus...
ehautus
Offline Send Email
Jan 2, 2003
2:04 am
6581
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 ...
Arvind Sharma
mailtoarvind
Offline Send Email
Jan 2, 2003
1:14 pm
6582
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...
Pardeep Duggal
pary78
Offline Send Email
Jan 2, 2003
1:14 pm
6583
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@...
Send Email
Jan 2, 2003
1:14 pm
6584
Hi Veena, The .class file is not placed at the location dir="${test}" mentioned in &lt;fileset dir="${test}" includes="**/*Test.class"/&gt; Take care that...
ravi_chaddha
yourloveravi
Offline Send Email
Jan 2, 2003
1:14 pm
6585
If you included your entire build code, there is nothing there that would compile *Test.java to *Test.class George. ... From: <veena.g@...> To:...
George McKinney
ghmck2002
Offline Send Email
Jan 2, 2003
1:14 pm
6586
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...
Jason Rogers
jacaetev
Offline Send Email
Jan 2, 2003
1:52 pm
6587
Hi Arvind, You should probably rather send this email to the Cactus mailing list (see the cactus web site for more information). Cheers, -Vincent ... ...
Vincent Massol
vmassol
Offline Send Email
Jan 2, 2003
2:12 pm
6588
... Refer to this FAQ entry: http://junit.sourceforge.net/doc/faq/faq.htm#tests_4 Mike -- Mike Clark http://clarkware.com (720) 851-2014...
Mike Clark
clarkware
Offline Send Email
Jan 2, 2003
2:24 pm
6589
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...
Brian <br524@...>
br524
Online Now Send Email
Jan 3, 2003
2:54 pm
6590
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...
Pardeep Duggal
pary78
Offline Send Email
Jan 3, 2003
2:54 pm
6591
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...
Kenny Smith
tilt_the_earth
Offline Send Email
Jan 3, 2003
2:54 pm
6592
Friends, In continuation of my efforts on Knowledge management , beginning this new year http://www.mywirelesskit.com/index.html would every day pick one...
mywirelesskit <mywire...
mywirelesskit
Offline Send Email
Jan 3, 2003
2:55 pm
6593
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...
Veena G
veena_uin
Offline Send Email
Jan 3, 2003
2:56 pm
6594
... 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...
Mike Clark
clarkware
Offline Send Email
Jan 3, 2003
3:04 pm
6595
... 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...
Mike Clark
clarkware
Offline Send Email
Jan 3, 2003
3:58 pm
6596
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....
Brian <br524@...>
br524
Online Now Send Email
Jan 3, 2003
4:49 pm
6597
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 ...
Kendall Collett
kendall_collett
Offline Send Email
Jan 3, 2003
5:41 pm
6598
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...
Jason Rogers
jacaetev
Offline Send Email
Jan 3, 2003
5:47 pm
6599
... 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...
Mike Clark
clarkware
Offline Send Email
Jan 3, 2003
5:59 pm
6600
So said Edwin Hautus <ehautus@...> on 2002-12-31 ... Call your ANT target your "test system" and go with that. If you begin to feel stronger pain...
J. B. Rainsberger
nails762
Offline Send Email
Jan 3, 2003
6:06 pm
6601
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...
Brian <br524@...>
br524
Online Now Send Email
Jan 3, 2003
6:06 pm
6602
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...
Kendall Collett
kendall_collett
Offline Send Email
Jan 3, 2003
6:25 pm
6603
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...
Jason Rogers
jacaetev
Offline Send Email
Jan 3, 2003
6:26 pm
6604
No argument there... It sounded like that would be conditional logic though -- in which case it is test dependency. =jason [:question | ^One] ... Outgoing mail...
Jason Rogers
jacaetev
Offline Send Email
Jan 3, 2003
6:27 pm
Messages 6575 - 6604 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help