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...
Show off your group to the world. Share a photo of your group with us.

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 10939 - 10968 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10939
... Each test needs its own data to be isolated, so the obvious solution is to do this for each test: insertTestData runTest removeTestData After a while, you...
J. B. Rainsberger
nails762
Offline Send Email
May 1, 2004
3:43 pm
10940
James Cheesman Fri, 30 Apr 2004 09:09:43 +0200 ... You're wrong: separation (e.g. MVC) is at best part of the solution. It is better to *actually* test, i.e....
Thomas L Roche
tlroche
Offline Send Email
May 1, 2004
5:11 pm
10941
... I cannot see what this is supposed to do. In particular, why do you invoke getType(), then entirely ignore the result? Fill in the blank: ...
J. B. Rainsberger
nails762
Offline Send Email
May 1, 2004
6:33 pm
10942
If you define an interface, what is the best strategy to test all implementing classes. Of course, you will create a specific test class that will test every...
popmanse
Offline Send Email
May 1, 2004
7:02 pm
10943
... Google Abstract Test Case, and especially read any hits at c2.com. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
J. B. Rainsberger
nails762
Offline Send Email
May 1, 2004
10:57 pm
10944
On Sunday, May 2, 2004, at 9:15:01 AM, Thomas L Roche <tlroche@...> ... I resemble this remark, and it's hard to refute. I still don't have the...
Ron Jeffries
ronaldejeffries
Offline Send Email
May 2, 2004
2:56 pm
10945
... Separation is, however, a majority of the solution. It is easily 80% of the solution, if not more. I hope that readers do not interpret your remark to mean...
J. B. Rainsberger
nails762
Offline Send Email
May 2, 2004
7:53 pm
10946
Tom Roche Wed Feb 11 2004 5:46 am ("fighting the anti-test-infection") ... Tom Roche Fri 30 Apr 2004 16:12:43 -0400 ... Tom Roche Sunday, May 2, 2004, at...
Thomas L Roche
tlroche
Offline Send Email
May 2, 2004
8:55 pm
10947
Guys, Id like to offer these 3 classes for submission. They provide an Interface to implement multiple similar tests. I found them very useful when testing a...
Andrew Wilson
anewilson
Offline Send Email
May 3, 2004
2:36 pm
10948
Guys, I have posted 3 files to Files/grouptest which I would like to offer for submission to JUnit. They provide a simple Interface for running multiple...
Andrew Wilson
anewilson
Offline Send Email
May 3, 2004
2:37 pm
10949
... Oh yes, I fully agree. It's very effective. It just leaves certain common kinds of holes. Ron Jeffries www.XProgramming.com No one expects the Spanish...
Ron Jeffries
ronaldejeffries
Offline Send Email
May 3, 2004
2:37 pm
10950
... Thinking it through I have to agree - the long term solution includes separation of GUI from data/control (a la MVC), but testing the GUI is entirely...
James Cheesman
jdcheesman
Offline Send Email
May 3, 2004
2:38 pm
10951
Dear All, How to test JunitTestcase without returning any return value such as String,object or boolean. java code: public void Option() { } doesn't return any...
kavitha arumugam
kavi_sydney
Offline Send Email
May 3, 2004
2:41 pm
10952
... <snip /> ... Rudeness objection. Dial it down a notch, will you? ... Please lecture someone else about things they already know. <snip /> ... Agreed,...
J. B. Rainsberger
nails762
Offline Send Email
May 3, 2004
2:45 pm
10953
Ron Jeffries wrote: <snip /> ... Like the ones in Adventures in C#? :) Agreed. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com...
J. B. Rainsberger
nails762
Offline Send Email
May 3, 2004
2:50 pm
10954
... I hate to burst your bubble, but code is essentially never accepted into JUnit. It's open source in name only. <snip /> ... I haven't looked at your stuff,...
J. B. Rainsberger
nails762
Offline Send Email
May 3, 2004
4:49 pm
10955
... If your method has no visible behavior, then it must have invisible behavior, otherwise it does nothing. Find the invisible behavior, extract it to its own...
J. B. Rainsberger
nails762
Offline Send Email
May 3, 2004
4:49 pm
10956
you should create small pieces of code which returns some value and after that you create a bigger code calling the smalls. then you have to create the Junit...
Waldomiro
wmirochat
Offline Send Email
May 4, 2004
5:08 pm
10957
... I often use the Parameterized Test Case instead. Just give an instance of each class as a parameter. It allows me to test several classes that implement...
Mark Van Peteghem
mvp_be
Offline Send Email
May 4, 2004
5:08 pm
10958
... Hi J.B. Do you have, or know of, a Java Swing example illustrating this separation structure? A picture paints a thousand words, but code is so much...
Shane Mingins
shanemingins
Offline Send Email
May 4, 2004
5:09 pm
10959
... Yes. Someone mentioned that here several months ago and I remember discussing how the two patterns were equivalent. I haven't tried using Parameterized...
J. B. Rainsberger
nails762
Offline Send Email
May 4, 2004
5:17 pm
10960
... Dave Astels' book, A Practical Guide to Test-Driven Development, develops such an example (and is a fine book besides). Not being a big Swing programmer...
J. B. Rainsberger
nails762
Offline Send Email
May 4, 2004
5:25 pm
10961
Could someone please give a quick overview of the purpose of this class? Specifically the testWrongException method? Thanks for your feedback...
brilliantgreen333
brilliantgre...
Offline Send Email
May 4, 2004
5:30 pm
10962
Dear All, I am a new member of this group. I have a question for u people. I have a method which overwrites value of a private variable. This method is public...
whynotcode
Offline Send Email
May 4, 2004
5:30 pm
10963
W> you should create small pieces of code which returns some value and after W> that you create a bigger code calling the smalls. Another way is to create...
Michael Feathers
mfeathers256
Offline Send Email
May 4, 2004
5:30 pm
10964
... When you ask, "Is it OK?" in what way do you think it might not be OK? What you propose works, because it tests what you want to test: "Does my method...
J. B. Rainsberger
nails762
Offline Send Email
May 4, 2004
5:45 pm
10965
... It is generally agreed that ExceptionTestCase is not worth the effort to use it, so you might not find anyone who knows how to use it at all. See ...
J. B. Rainsberger
nails762
Offline Send Email
May 4, 2004
5:54 pm
10966
... Absolutely. The mock objects approach is based on what Michael describes here: passing in a "spy" object that the method under test operates on, then...
J. B. Rainsberger
nails762
Offline Send Email
May 4, 2004
5:55 pm
10967
JB, Thanks I found it. Will take a look. Kindest regards, Andrew. ... offer ... into ... my ... better ... have...
Andrew Wilson
anewilson
Offline Send Email
May 7, 2004
8:47 pm
10968
Is there any way i can override AssertEquals? My intention is to compare 2 Arraylists for similarity of its contents....
lavangu
Offline Send Email
May 7, 2004
8:48 pm
Messages 10939 - 10968 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