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 18822 - 18851 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
18822
You can see some here from a recent JUnit course I taught: http://www.cafeaulait.org/slides/catt/junit/52.html and work forward for a few slides -- Elliotte...
Elliotte Harold
elharo@...
Send Email
Feb 1, 2007
12:03 pm
18823
Hello Narasimha, ... Note that Elliotte's example is not an example of using J.B.'s ParameterizedTestCase but an example of implementing the Parameterized ...
Lasse Koskela
lassekoskela
Offline Send Email
Feb 1, 2007
12:41 pm
18824
Hi All Thanks for responses. At last I manage to make it work out. Actually in J.B's samples I found two ParameterizedTestSuite classes the one under package...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Feb 1, 2007
5:32 pm
18825
... I'm glad you were able to find something, and I'm sorry I couldn't help you more. Take care. -- J. B. (Joe) Rainsberger :: http://www.jbrains.ca Your guide...
J. B. Rainsberger
nails762
Offline Send Email
Feb 1, 2007
8:06 pm
18826
No Problem at all. But could you post me here if you have any other new articles on JUnit framework or Testing . -Narasimha ________________________________ ...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Feb 1, 2007
10:57 pm
18827
Markus, Have you tried going to http://sourceforge.net/project/showfiles.php?group_id=15278 and clicking on "Show older releases"? Thanks, David Saff...
David Saff
dsaff
Offline Send Email
Feb 2, 2007
12:01 am
18828
Hi David, Thanks for your hint. Yes I've been there and downloaded the zip and I just tried it again to check if I didn't oversee something. But in the zip...
markuspeterbaum
Offline Send Email
Feb 2, 2007
11:53 am
18829
Markus, My bad. You had said as much the first time, but I saw the source directory, and didn't look hard enough. I'm sure that some CVS archeology, if...
David Saff
dsaff
Offline Send Email
Feb 2, 2007
3:16 pm
18830
Vasu, I'm sorry to be late in a reply--it's been a busy month. The general scenario you describe should work. If you run class D by itself, does everything...
David Saff
dsaff
Offline Send Email
Feb 2, 2007
6:18 pm
18831
... Whenever I write something new, I mention it at jbrains.ca, so you should subscribe to my weblog to stay up to date. I'm not writing much these days about...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2007
8:11 pm
18832
Hello, I am learning JUnit the hard way, I have inherited some code to which I need to add some new testCases. This is in RAD 6.x, which uses JUnit 3.8. As far...
Libby
libbychantel
Offline Send Email
Feb 6, 2007
6:23 pm
18833
Libby, Try giving the complete path in the "Arguments" TAB in your "run" option Also try using the . DOT Separated path like com.rad.mycompany.test Hope this...
Kamal Ahmed
kamal2222ahmed
Offline Send Email
Feb 7, 2007
4:31 pm
18834
What is the best approach for testing private methods? Thanks, Gabriel [Non-text portions of this message have been removed]...
Gabriel Nascimento
gamnascimento@...
Send Email
Feb 7, 2007
10:29 pm
18835
Hi Gabriel, This question comes up time and again on the JUnit mailing list, and in my opinion there is no easy answer. There are two common approaches: 01....
Stephen Smith
steve@...
Send Email
Feb 7, 2007
10:46 pm
18836
... No and no. The correct answer is O3. Test the public methods that call the private method. Do not test the private method directly. If no public methods...
Elliotte Harold
elharo@...
Send Email
Feb 8, 2007
12:17 am
18837
On 2/7/07, Elliotte Harold <elharo@...> wrote: Stephen Smith ... Here is another correct answer :-) If it can break, it probably needs to be...
Cédric Beust â...
cbeust
Offline Send Email
Feb 8, 2007
12:24 am
18838
I put my test cases in the same logic package and changed the private methods I wanted to test, to protected. So the test case can access it. That´s why I...
Gabriel Nascimento
gamnascimento@...
Send Email
Feb 8, 2007
7:03 am
18839
Hi Gabriel. As pointed out, you can either peek at the private values, make them more visible, or just exercise the public methods that exercise the private...
Bob Evans
objecter
Online Now Send Email
Feb 8, 2007
2:35 pm
18840
... it. ... the unit ... API. So ... Gabriel, I've found this article by Bill Venners to be a reasonably balanced discussion of this topic. ...
Jim Cakalic
jim_cakalic
Offline Send Email
Feb 8, 2007
3:03 pm
18841
So there once was a doctor. A patient came to him and said "Doc, I have these recurring headaches." His response was "Well, Tylenol works." The patient went...
Michael Feathers
mfeathers256
Offline Send Email
Feb 8, 2007
3:15 pm
18842
All, At the Agile Open Northwest conference I held an open space session on the future of testing tools. I expected to talk a little about Theories and ...
Kent Beck
kentlbeck
Offline Send Email
Feb 8, 2007
11:23 pm
18843
The problem is that my domain model has an abstract class Domain with an abstract method validate(). The subclasses of Domain implements validate, calling...
Gabriel Nascimento
gamnascimento@...
Send Email
Feb 8, 2007
11:40 pm
18844
Hi Kent, We had a pretty good discussion around this on this thread: http://www.nabble.com/100---Method-Testing-and-Generating-Unit-Tests-tf2902785.html I...
Ole Ersoy
ole_ersoy
Offline Send Email
Feb 9, 2007
5:45 am
18845
I noticed your map doesn't include CppUnit. I am not surprised as running CppUnit (Eclipse on Windows with CDT) I found it too flaky to count on. Is this...
Joel Altman
jaltman77096
Offline Send Email
Feb 9, 2007
2:51 pm
18846
... In general, I dislike abstract classes, and what you describe is one of the reasons I dislike them. If I owned the Domain class, I would do this: 1. Move...
J. B. Rainsberger
nails762
Offline Send Email
Feb 9, 2007
7:41 pm
18847
... This link timed out for me right now. I don't know who owns the wiki, so I can't let them know. -- J. B. (Joe) Rainsberger :: http://www.jbrains.ca Your...
J. B. Rainsberger
nails762
Offline Send Email
Feb 9, 2007
7:50 pm
18848
... I'm beginning to wonder whether we should have separate design and testing tools. This seems to be a serious source of contention among programmers: we...
J. B. Rainsberger
nails762
Offline Send Email
Feb 9, 2007
7:51 pm
18849
... This seems elegant - I think there is a role for testing outside of TDD. In those cases I would like automated help in generating data (perhaps even Mocks)...
Mark Levison
marklevison
Offline Send Email
Feb 9, 2007
8:05 pm
18850
All; In our shop, we do not do Test Driven Design (gasp!, Heretic! Burn them! ... established design methodology, and (relatively good) tool support for ...
James P. Gunderson
jpg3u
Offline Send Email
Feb 9, 2007
8:29 pm
18851
... A couple of years ago, I prototyped something (I called it Test by Example) which you would point at a newly written class and it would construct instances...
Kevin Lawrence
kevinwilliam...
Online Now Send Email
Feb 9, 2007
9:53 pm
Messages 18822 - 18851 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