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 10744 - 10773 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10744
I am trying to fix the Class Path for JUnit so I can run some tests by way of Ant. I have been to many sites on setting the path, but have come up with the ...
lindbird9
Offline Send Email
Apr 2, 2004
7:05 pm
10745
Hi, I have 2 objectives for my testcase below 1) to test the registration process 2) to test the duplicated user when I run the test, I am getting either a...
mcgqa
Offline Send Email
Apr 2, 2004
7:06 pm
10746
I believe you need to have the junit.jar in $ANT_HOME/lib ... -- Jason Rogers "Where there is no vision, the people perish..." Bible, Proverbs 29:18...
Jason Rogers
jacaetev
Offline Send Email
Apr 2, 2004
8:13 pm
10747
... Not with this information. Can you show us the specific test failures? We have no idea how your code actually behaves (was MHHERegistrar does, for...
J. B. Rainsberger
nails762
Offline Send Email
Apr 2, 2004
10:11 pm
10748
... don't know about this, but I do have a comment. Don't initialize those variables at init time. Any shared variable you want your tests to access should...
Jason Rogers
jacaetev
Offline Send Email
Apr 2, 2004
11:03 pm
10749
Everyone: JUnit Recipes: Practical Programmer Testing Methods has hit online book stores. -- J. B. Rainsberger, Diaspar Software Services ...
J. B. Rainsberger
nails762
Offline Send Email
Apr 3, 2004
6:20 pm
10750
... Yay! Ron Jeffries www.XProgramming.com Scientists discover the world that exists; engineers create the world that never was. -- Theodore von Karman...
Ron Jeffries
ronaldejeffries
Offline Send Email
Apr 3, 2004
7:43 pm
10751
Congratulations! -Vincent ... book...
Vincent Massol
vmassol
Offline Send Email
Apr 4, 2004
2:17 pm
10752
Congratulations, JB! Can't wait to see it. Scott Stirling Workscape, Inc. ________________________________ From: J. B. Rainsberger [mailto:jbrains@...]...
Stirling, Scott
stirlingdev
Offline Send Email
Apr 4, 2004
2:43 pm
10753
... [both variables are Strings] ... Strings are immutable, so I don't see that this can happen. What am I missing? [Amusingly, the only Google hit I got for...
Chris Dollin
anover_alias
Offline Send Email
Apr 5, 2004
1:04 pm
10754
... Sounds like you need to read up on references... The simple version is that "ABC" may be living at slot A in memory. You then set your variable newLoginId...
Jason Rogers
jacaetev
Offline Send Email
Apr 5, 2004
1:36 pm
10755
Yes. This is true. The reason is to do with classloaders. Both Ant and JUnit employ their own custom classloaders and they don't play well together! (There is...
Chappell, Simon P
simon.chappell@...
Send Email
Apr 5, 2004
3:34 pm
10756
Dear All, I've noticed a pattern I have slipped into recently when writing a number of units. A lot of my work revolves around using immutable data types ...
Jonathan Oddy
jonathanoddy
Offline Send Email
Apr 5, 2004
4:22 pm
10757
Hello, In jUnit framework, there is a class called Protectable. What is the purpose of this class? I know that TestResult use a subclass of Protectable to...
Endy Tjahjono
q20fch
Offline Send Email
Apr 5, 2004
4:30 pm
10758
Hi, I am using HTTPUnit for unit testing of some of my web applications. Currently any comment I write using System.out.println("")is not visible when any of...
prachi_qa
Offline Send Email
Apr 5, 2004
4:30 pm
10759
... Simon, I've never had trouble running JUnit tests via Ant on Windows. Is the classloader problem that you mention specific to Mac OS X? I haven't tried ...
Demyanovich, Craig - ...
demmer12
Offline Send Email
Apr 5, 2004
4:44 pm
10760
... Thank you, but that will not be necessary. I just need my brain defogging. Is the claim that the original code depends on the reference value of the login...
Chris Dollin
anover_alias
Offline Send Email
Apr 5, 2004
4:52 pm
10761
Hello, I have installed junit and am using ant to run it. I am new to junit and ant and have the following target declared in the buildfile. <target...
nathan
nsullins
Offline Send Email
Apr 5, 2004
6:29 pm
10762
I have lost the context of the test code... The comment I wrote was just to clear up the fog with the immutable string business. ... -- Jason Rogers "Where...
Jason Rogers
jacaetev
Offline Send Email
Apr 5, 2004
6:36 pm
10763
... Yes. Show us the content of your <classpath> entry with id "classpath". -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com ::...
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2004
7:45 pm
10764
... <snip /> Protectable was born when they removed duplication between TestCase and TestSetup. See the source for TestSetup for details. -- J. B. Rainsberger,...
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2004
7:47 pm
10765
... Yes, but if that object is guaranteed never to change (which is true of Strings), what is the harm? This is the type of aliasing that is considered ...
Kathy Van Stone
KathyVS
Offline Send Email
Apr 5, 2004
7:56 pm
10766
We have a hanging unit test suite -- is there a TextRunner that will output the name of each test class (and possibly test method) as it's being run so we can...
Chris Morris
workmo
Offline Send Email
Apr 5, 2004
8:10 pm
10767
... (more precisely, textui.TestRunner...) BTW, we're in J++, so swingui is not an option (though awtui would be, if there's some help inside there...) -- ...
Chris Morris
workmo
Offline Send Email
Apr 5, 2004
8:11 pm
10768
... I hacked out my own textui.TestRunner descendant class to use in a verbose mode. Piece of cake, really. -- Chris http://clabs.org...
Chris Morris
workmo
Offline Send Email
Apr 5, 2004
9:16 pm
10769
Check the value of the <path id="classpath"/> element in your build file. It doesn't have the class in question in there. ... -- Jason Rogers "Where there is...
Jason Rogers
jacaetev
Offline Send Email
Apr 5, 2004
9:18 pm
10770
... System.out.println("") only prints an empty line, so it probably /looks/ like it's doing nothing. As for your problem, that depends on your web container....
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2004
9:26 pm
10771
... JUnit-addons Test Runner can do this: add a TestListener that spits out the name. The alternate is to tack it on to the JUnit TextUI source. (Not hard.) --...
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2004
10:23 pm
10772
While that is true, it is irrelevant to his example test (unless I missed something about my "simple" explanation and your correction) because he wasn't...
Jason Rogers
jacaetev
Offline Send Email
Apr 5, 2004
10:55 pm
10773
... Are you sure? Check the bytecode. The last I saw, the Java compiler took care of this, and declaring the variable outside the loop didn't make a ...
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2004
11:54 pm
Messages 10744 - 10773 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