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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 19822 - 19855 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
19822
We have an Eclipse plug-in that calculates path and branch coverage, measures code testability, and designs JUnit tests. The plug-in is free for the open...
ponczak
Offline Send Email
Sep 1, 2007
12:41 pm
19823
... I don't know of a way to do that, but rather than excluding the classs w/out tests, why not include only the classes that have tests? If you follow a...
Jeffrey Fredrick
frogstar
Offline Send Email
Sep 1, 2007
5:21 pm
19824
Would do you publish build.xml for JUnit 4.4? I want build it from source. Thanks!...
Vitaliy Berdinskikh
vitaliy.berd...
Offline Send Email
Sep 2, 2007
12:15 pm
19825
You mean this? http://junit.cvs.sourceforge.net/junit/junit/build.xml?revision=1.35&view=markup Wayne...
Wayne Fay
jaeger321
Offline Send Email
Sep 3, 2007
12:13 pm
19828
Hi All, The classes that my JUnit test class tests loads external files. These files can only be referred to using relative paths in the code to maintain...
Ron
ronak2121
Offline Send Email
Sep 4, 2007
5:25 pm
19830
Hi Ron, I know I am not answering your exact question and this may not be an option but... When I am faced with the problem that I need to load an external...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 4, 2007
8:20 pm
19831
Hi Ron, I know I am not answering your exact question and this may not be an option but... When I am faced with the problem that I need to load an external...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 4, 2007
10:16 pm
19832
... http://junit.cvs.sourceforge.net/junit/junit/build.xml?revision=1.35&view=markup Thanks a lot. Where do I find .junit.properties? -- Regards, Vitaliy...
Vitaliy Berdinskikh
vitaliy.berd...
Offline Send Email
Sep 5, 2007
11:19 am
19833
.junit.properties is an optional file that you can put in your home directory to customize the ant build. If the current script is working as desired, there's...
David Saff
dsaff
Offline Send Email
Sep 5, 2007
1:52 pm
19835
Hi all, I have been playing with JRuby recently and in particular how to embed Ruby in Java applications. I believe that mixing languages rather than switching...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 8, 2007
5:13 pm
19836
Hi all I have created test cases for normal HTML components in JDeveloper that too for static components. How can i do the same for ADF components. What are...
kkarthika_2006
Offline Send Email
Sep 9, 2007
8:39 am
19837
Joakim, I think it's really interesting stuff. I'm not currently using Ruby, but I have built Java / Ruby hybrid systems in the past, and I think I would use...
David Saff
dsaff
Offline Send Email
Sep 9, 2007
6:15 pm
19838
Thanks, I think so too :) I think that with custom runners JUnit has a good chance to be the adapter between a whole host of testing frameworks out there and...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 9, 2007
8:04 pm
19839
Actually, I think that while TestRunners work great to extend JUnit, they interact very poorly with IDE's, which are often hardcoded to understand only the...
Cédric Beust 
cbeust
Offline Send Email
Sep 9, 2007
8:24 pm
19840
I have not tested this but I just assumed that if you used class-descriptions the IDE runner would know which file to open based on that information... Well,...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 9, 2007
9:03 pm
19841
Cedric, I've seen many custom JUnit 4 Runners work perfectly with Eclipse, and haven't seen Eclipse get completely lost since 3.1. If anyone has a favorite...
David Saff
dsaff
Offline Send Email
Sep 9, 2007
10:51 pm
19842
Hi I wanted to compare to float arrays and assert they are not equal, however, junit is a bit of a pain in this direction as 1. assertArrayEquals doesn't...
varioustoxins
Offline Send Email
Sep 10, 2007
12:04 pm
19843
Gary, If this worked, would you use it? assertThat(array1, not(equalArray(array2))); Thanks, David Saff...
David Saff
dsaff
Offline Send Email
Sep 10, 2007
3:44 pm
19844
I like the idea of testing Java classes with rspec and have been playing around with it myself. Integrating it with the JUnit runner in Eclipe would definitely...
Per Jacobsson
perjacobsson@...
Send Email
Sep 10, 2007
4:58 pm
19845
Hi Per, I just realized I'm going of topic even for the list so I start a new thread and try to keep it short :) I think testdriving Java with RSpec is really...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Sep 10, 2007
5:51 pm
19846
Hello, Here is my practice about TDD in my daily life , But I dont know if I make any mistakes, so could you please tell me how to practice TDD in your daily...
hyysguyang
Offline Send Email
Sep 10, 2007
7:19 pm
19847
... It seems like there is a large jump in the amount of code in this refactoring step. If it were just removing the duplicate space, you could do that with...
Jeff Langr
jlangr
Offline Send Email
Sep 10, 2007
7:53 pm
19848
... Your friends have a point. Just like everything else, use TDD sparingly. I understand you are currently doing this as an exercise, so it's healthy to take...
Cédric Beust 
cbeust
Offline Send Email
Sep 10, 2007
8:01 pm
19849
... I've never seen that happen. We must be doing things quite differently. Cheers, ILja...
Ilja Preuss
ipreussde
Offline Send Email
Sep 10, 2007
8:51 pm
19850
... What if you started with a simpler test? @Test public void emptyString() { Assert.assertEquals("", reverse("")); } The next test would be a one-word...
J. B. Rainsberger
nails762
Offline Send Email
Sep 10, 2007
9:36 pm
19851
... I'm surprised that you quickly throw away business code and rewrite it when you have tests. Why wouldn't you refactor it? Incidentally, I don't think it's...
J. B. Rainsberger
nails762
Offline Send Email
Sep 10, 2007
9:39 pm
19852
... This is perhaps great advice for a very experienced developer, someone who has the prescience to know when they are about to write perfect code. Otherwise,...
Jeff Langr
jlangr
Offline Send Email
Sep 10, 2007
10:02 pm
19853
... Agreed. I think TDD is a great learning tool for beginners, and I definitely encourage Yang Gu to keep experimenting. I also think he should not dismiss...
Cédric Beust 
cbeust
Offline Send Email
Sep 10, 2007
10:12 pm
19854
... Fair enough, but I think it's equally dangerous to tell a novice "always do this" or "always do that". In doubt, just ask, and the original poster did...
Cédric Beust â...
cbeust
Offline Send Email
Sep 10, 2007
10:21 pm
19855
Actually, I don't have that much experience with rspec. So far I've spent about a day experimenting with it and JRuby, going over my typical JUnit / mock...
Per Jacobsson
perjacobsson@...
Send Email
Sep 10, 2007
10:32 pm
Messages 19822 - 19855 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