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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 19309 - 19338 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
19309
Think it would help in cases where private int x; private int y; int getX() { return this.x } void setX(int value) { this.y = value; } ... -- View this message...
jamurph
tony_murphy
Offline Send Email
May 1, 2007
9:22 am
19310
Take a look at JUnitFactory from Agitar- www.junitfactory.com <http://www.junitfactory.com/> . I agree with what Stephen said about not testing simple...
Colin Vipurs
zodiac_zx6
Offline Send Email
May 1, 2007
9:29 am
19311
Stephen, The document "TestUtil: By Example" chronicles the testing of accessors on a project at a Fortune Five (5) company. ...
Marvin Toll
y153446
Offline Send Email
May 1, 2007
1:32 pm
19312
El, Thanks for posting your solution. I'd love to make it so that kind of customization is easier in the future. Would you mind posting a feature request on...
David Saff
dsaff
Offline Send Email
May 1, 2007
1:47 pm
19313
TestUtil does precisely what you are looking for. http://gtcgroup.com/util/index.html _Marvin ... using ... tf3669734.html#a10253752...
Marvin Toll
y153446
Offline Send Email
May 1, 2007
2:13 pm
19314
... I believe I did that a month or so ago for this feature. My implementation had the name as the first parameter, not the last (makes for easier readability...
gabrielcooper
Offline Send Email
May 1, 2007
4:07 pm
19315
Hi all, I'm looking to use a Mock framework. I was using a home-grown one with a previous employer, but that isn't (yet - I'm hopeful!) open-sourced /...
James Abley
taboozizi
Online Now Send Email
May 2, 2007
1:41 pm
19316
There are a lot of factors that come into play when evaluating a mock framework. You will probably find these somewhere online (because I am pretty sure...
Alexandru Popescu ...
alexpopescu7...
Offline Send Email
May 2, 2007
3:09 pm
19317
Gabriel, ... I was unclear in my wording. We're still considering whether to include LightweightParameters directly into the core JUnit, or using a different...
David Saff
dsaff
Offline Send Email
May 2, 2007
6:16 pm
19318
A while back - just for fun - I took a pretty bad pun on Seinfeld's "Festivus" a bit too far and blogged about "Testivus - Unit testing for the rest of us": ...
albsavoia
Offline Send Email
May 2, 2007
11:38 pm
19319
Hi Alberto, ... This is excellent stuff. I'm loving it! Lasse...
Lasse Koskela
lassekoskela
Offline Send Email
May 3, 2007
4:51 am
19320
Kent/David et. al., I have been successfully using a filter implementation that I provided with one or more method names. These methods were the only ones ...
Michael Schechter
mlschechter
Offline Send Email
May 3, 2007
11:12 pm
19321
... Me too. ... I went that way first. So for now at least, I'm sticking with JUnit3....
Thomas L Roche
tlroche
Offline Send Email
May 4, 2007
4:11 am
19322
... Some comments: What are hard-coded tests? What does it mean to author them? Do you mean write? Why is the volume of test code a challenge? I'd agree it is...
Robert Wenner
robertwenner
Online Now Send Email
May 4, 2007
4:23 am
19323
Robert, Thanks for taking the time and your comments. As mentioned, this is the first "public" exposure of some of these thoughts. "<mdt>" syntax is used to...
Marvin D. Toll
y153446
Offline Send Email
May 4, 2007
11:59 am
19324
Hi, I have received a Eclipse project from my officemate, including junit test classes. I have created a project in my Linux Eclipse and copied everything into...
xsli2
Offline Send Email
May 8, 2007
9:07 pm
19325
I am still new trying to design a test case whereby my class file can read this xml file and come out with the necessary results / scenario. Sorry, but I am...
melvinmah
Offline Send Email
May 9, 2007
6:31 am
19326
I read the article via the FAQ's about how to test protected/private methods with JUnit, and it works fine for non-inherited methods. But how should i test...
elmoseeriksen
Offline Send Email
May 9, 2007
11:21 am
19327
Hi Louise, ... You simply need to do the "getDeclaredMethods()" recursively for all of the parent classes. Here's an example of how you might go about doing...
Lasse Koskela
lassekoskela
Offline Send Email
May 9, 2007
10:24 pm
19328
What bad thing will happen if the test code is in the same package as the classes being tested? I do this all the time; if there's a problem with this...
David Jackman
djackmanq
Offline Send Email
May 10, 2007
2:45 pm
19329
Ah great! Thanks :o)...
elmoseeriksen
Offline Send Email
May 10, 2007
9:49 pm
19330
I read in the FAQ about testing abstract classes, but I do not understand the example given in the link the FAQ refers to. When I e.g. make the test class...
elmoseeriksen
Offline Send Email
May 10, 2007
9:49 pm
19331
Yes, its normally better to test Abstract classes through their deriving classes. This way you are testing the real classes that are certain to be used,...
Andrew McDonagh
andy_ipaccess
Offline Send Email
May 10, 2007
10:05 pm
19332
Is there much difference between writing a test for an interface and writing a test for an abstract class? For example, writing a test for Map and writing a...
Stephen Smith
steve@...
Send Email
May 10, 2007
11:50 pm
19333
Louise, The unstated assumption in the article is that along with the abstract class Source there is a concrete class InstanceMessageSource, whose test could...
David Saff
dsaff
Offline Send Email
May 11, 2007
2:19 am
19334
... It looks like you never got an answer. The GSBase project (gsbase.sourceforge.net) has an OrderedTestSuite class which you can use to declare the order of...
J. B. Rainsberger
nails762
Offline Send Email
May 11, 2007
8:12 am
19335
... A very late answer, and perhaps useless, but I use Fraction, since it's geeky enough to be cool and simple enough to be accessible by the whole crowd. It...
J. B. Rainsberger
nails762
Offline Send Email
May 11, 2007
8:14 am
19336
... I wrote then that if I'd been able to use JMock 1.x for real before writing the book, my examples would have been with JMock 1.x. I stand by that...
J. B. Rainsberger
nails762
Offline Send Email
May 11, 2007
8:16 am
19337
... I think there is a lot of strong opinion, both positive and negative, to the JMock 2 API. Smalltalkers and Rubyists love it, others hate it. It's the most...
J. B. Rainsberger
nails762
Offline Send Email
May 11, 2007
8:25 am
19338
... I object again, as I have in the past, to the notion that conviction is dogma. For example, I find that people who disagree with my convictions call me...
J. B. Rainsberger
nails762
Offline Send Email
May 11, 2007
8:27 am
Messages 19309 - 19338 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