Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31225
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 19309 - 19338 of 24405   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
19309 jamurph
tony_murphy Send Email
May 1, 2007
9:22 am
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...
19310 Colin Vipurs
zodiac_zx6 Send Email
May 1, 2007
9:29 am
Take a look at JUnitFactory from Agitar- www.junitfactory.com <http://www.junitfactory.com/> . I agree with what Stephen said about not testing simple...
19311 Marvin Toll
y153446 Send Email
May 1, 2007
1:32 pm
Stephen, The document "TestUtil: By Example" chronicles the testing of accessors on a project at a Fortune Five (5) company. ...
19312 David Saff
dsaff Send Email
May 1, 2007
1:47 pm
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...
19313 Marvin Toll
y153446 Send Email
May 1, 2007
2:13 pm
TestUtil does precisely what you are looking for. http://gtcgroup.com/util/index.html _Marvin ... using ... tf3669734.html#a10253752...
19314 gabrielcooper Send Email May 1, 2007
4:07 pm
... 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...
19315 James Abley
taboozizi Send Email
May 2, 2007
1:41 pm
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 /...
19316 Alexandru Popescu ...
alexpopescu7... Send Email
May 2, 2007
3:09 pm
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...
19317 David Saff
dsaff Send Email
May 2, 2007
6:16 pm
Gabriel, ... I was unclear in my wording. We're still considering whether to include LightweightParameters directly into the core JUnit, or using a different...
19318 albsavoia Send Email May 2, 2007
11:38 pm
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": ...
19319 Lasse Koskela
lassekoskela Send Email
May 3, 2007
4:51 am
Hi Alberto, ... This is excellent stuff. I'm loving it! Lasse...
19320 Michael Schechter
mlschechter Send Email
May 3, 2007
11:12 pm
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 ...
19321 Thomas L Roche
tlroche Send Email
May 4, 2007
4:11 am
... Me too. ... I went that way first. So for now at least, I'm sticking with JUnit3....
19322 Robert Wenner
robertwenner Send Email
May 4, 2007
4:23 am
... 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...
19323 Marvin D. Toll
y153446 Send Email
May 4, 2007
11:59 am
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...
19324 xsli2 Send Email May 8, 2007
9:07 pm
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...
19325 melvinmah Send Email May 9, 2007
6:31 am
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...
19326 elmoseeriksen Send Email May 9, 2007
11:21 am
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...
19327 Lasse Koskela
lassekoskela Send Email
May 9, 2007
10:24 pm
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...
19328 David Jackman
djackmanq Send Email
May 10, 2007
2:45 pm
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...
19329 elmoseeriksen Send Email May 10, 2007
9:49 pm
Ah great! Thanks :o)...
19330 elmoseeriksen Send Email May 10, 2007
9:49 pm
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...
19331 Andrew McDonagh
andy_ipaccess Send Email
May 10, 2007
10:05 pm
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,...
19332 Stephen Smith
steve@... Send Email
May 10, 2007
11:50 pm
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...
19333 David Saff
dsaff Send Email
May 11, 2007
2:19 am
Louise, The unstated assumption in the article is that along with the abstract class Source there is a concrete class InstanceMessageSource, whose test could...
19334 J. B. Rainsberger
nails762 Send Email
May 11, 2007
8:12 am
... 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...
19335 J. B. Rainsberger
nails762 Send Email
May 11, 2007
8:14 am
... 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...
19336 J. B. Rainsberger
nails762 Send Email
May 11, 2007
8:16 am
... 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...
19337 J. B. Rainsberger
nails762 Send Email
May 11, 2007
8:25 am
... 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...
19338 J. B. Rainsberger
nails762 Send Email
May 11, 2007
8:27 am
... 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...
Messages 19309 - 19338 of 24405   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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