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 15042 - 15071 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15042
Elliotte, Parameterized tests violate an assumption in JUnit that some of which JUnit GUIs depend on, that tests can be uniquely identified by a class and...
Kent Beck
kentlbeck
Offline Send Email
Oct 1, 2005
7:47 am
15043
Kent, The @Factory (Runner) annotion looks very useful. It would give, for example, a hook to load the test in a custom classloader. This could have been done...
Neil Swingler
neil_swingler
Online Now Send Email
Oct 1, 2005
6:43 pm
15044
... The book _JUnit Recipes_ can offer you some help here. As for your first test, answer two questions: 1. How do you send a message? What has to happen in...
J. B. Rainsberger
nails762
Offline Send Email
Oct 2, 2005
3:09 pm
15045
... Is the code already written, or are you practicing TDD to write new features? How much /experience/ do the other 3 people have with JUnit already? -- J. B....
J. B. Rainsberger
nails762
Offline Send Email
Oct 2, 2005
3:10 pm
15046
... I looked at your reply, the code, your reply, what I wrote, the code, your reply, the code... then concluded I was drunk when I replied to you. Sorry about...
J. B. Rainsberger
nails762
Offline Send Email
Oct 2, 2005
3:16 pm
15047
... I quite like this, Kent. It makes me happy to move my data-driven tests back from Fit RowFixtures into JUnit. Take care. -- J. B. (Joe) Rainsberger Diaspar...
J. B. Rainsberger
nails762
Offline Send Email
Oct 2, 2005
3:18 pm
15048
Kent, I like that it will be again possible to dynamically generate test data and I believe it is a good change to introduce constructor with test parameters...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 2, 2005
8:25 pm
15049
Hi Ritesh, Thanks for your reply but I was using that book. I needed some other book which tells more along with good number of examples. If I find such book I...
Jagadish Sreedevi
yhu_sree
Offline Send Email
Oct 3, 2005
3:41 pm
15050
Elliotte, This should be fixed in the current CVS release. Kent Beck Three Rivers Institute...
Kent Beck
kentlbeck
Offline Send Email
Oct 3, 2005
8:01 pm
15051
Eugene, Thank you for your comments. Followup below-- ... I think the performance problems can be solved other ways, and I still like encouraging test...
Kent Beck
kentlbeck
Offline Send Email
Oct 3, 2005
8:02 pm
15052
Hi Kent, Please see my comments below. regards, Eugene ... As I mentioned, passing params in the constructor assume that all test methods require the same...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 4, 2005
3:33 pm
15053
I have written a JUnit extension to wrap a simple test case, used to run to test for a fixed number of iterations. * It prints total and average execution...
svi37
Offline Send Email
Oct 4, 2005
3:36 pm
15054
... In my experience, it's pretty rare to see the same test take either a very short time or a very long time depending on the data you give it. Typically, the...
Cédric Beust 
cbeust
Offline Send Email
Oct 4, 2005
3:47 pm
15055
Hi, I've been interested in using J-unit for globalization testing. I have used J-Unit before, but never in this way. I want to use J-Unit to verify Japanese...
speedracer1548
Offline Send Email
Oct 4, 2005
5:10 pm
15056
Cedric, If I need different sets of parameters for different tests, I put the tests in different classes. This way, tests don't see parameters they don't need....
Kent Beck
kentlbeck
Offline Send Email
Oct 4, 2005
10:20 pm
15057
Eugene, I agree that Iterator isn't the right interface. AbstractCollection or AbstractList would be better. They would allow you to count the elements without...
Kent Beck
kentlbeck
Offline Send Email
Oct 4, 2005
10:32 pm
15058
Eugene, I'll address the question of constructor vs. test method parameters now and the rest later. Here is the current implementation: ...
Kent Beck
kentlbeck
Offline Send Email
Oct 4, 2005
10:32 pm
15059
Hi Kent, ... Well, that's certainly the way it works in JUnit3, but I thought the whole point behind the parameterized proposal was to allow tests to receive ...
Cédric Beust 
cbeust
Offline Send Email
Oct 5, 2005
2:39 am
15060
Cedric, I think there's a lot of room for different ways of organizing tests. For me, it's good for JUnit 4 to keep the one-class-instance-per-test philosophy...
David Saff
dsaff
Offline Send Email
Oct 5, 2005
2:04 pm
15061
David, Kent, I agree that one-class-instance-per-test is a good enforcement (as long as it does not cause performance issues). Usually it is also practical to...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 5, 2005
2:30 pm
15062
speedracer, Do you expect these tests to fail (with non-corrupted data), or do you expect them to pass, but the corruption causes them to fail? If the second,...
David Saff
dsaff
Offline Send Email
Oct 5, 2005
2:31 pm
15063
Hi David, ... I'm not sure I see the connection between "a new instance per method call" and "parameters for test methods". How does one exclude the other? ...
Cédric Beust 
cbeust
Offline Send Email
Oct 5, 2005
2:33 pm
15064
I agree with Cedric on this. Maybe example is not the most representative, but illustratates the issue. regards, Eugene...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 5, 2005
3:09 pm
15065
Hellow, I've tried to test my simple gui with jfcUnit. However, when I try: NamedComponentFinder finder = new NamedComponentFinder(PlayingGui.class, "play"); ...
dirk_ole
Offline Send Email
Oct 5, 2005
3:30 pm
15066
Hi, We are going to use Eclipse in integration with Jcoverage & Junit.Also we want to run Junit test cases with the Suites. Problem/Query: How can we get the...
Kishore Negi
negi_kishore
Offline Send Email
Oct 5, 2005
3:32 pm
15067
Eugene, I don't organize my tests with one test class per model class. Instead, I have one test class per fixture. For example, if I wanted to test with both...
Kent Beck
kentlbeck
Offline Send Email
Oct 5, 2005
9:05 pm
15068
Hi Kent, Are you suggesting that groupping test classes per fixture will be the only supported option in JUnit4? I'd say that this could be ok for small...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 5, 2005
9:32 pm
15069
... This has always been how JUnit is designed and intended to be used. That said, many testers and test suites (including myself and my suites, and apparently...
Elliotte Harold
elharo@...
Send Email
Oct 5, 2005
11:40 pm
15070
Or perhaps what we need is some nice Eclipse refactorings that move test methods into new classes. -- Elliotte Rusty Harold elharo@... XML in a...
Elliotte Harold
elharo@...
Send Email
Oct 5, 2005
11:41 pm
15071
... Like there is not enough classes around... :-) Actually there is a better approaches (still not as nice as one test per class). I've requested for...
Eugene Kuleshov
ekuleshov
Offline Send Email
Oct 6, 2005
12:58 am
Messages 15042 - 15071 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