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: 31224
  • 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 10939 - 10968 of 24387   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
10939 J. B. Rainsberger
nails762 Send Email
May 1, 2004
3:43 pm
... 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...
10940 Thomas L Roche
tlroche Send Email
May 1, 2004
5:11 pm
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....
10941 J. B. Rainsberger
nails762 Send Email
May 1, 2004
6:33 pm
... 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: ...
10942 popmanse Send Email May 1, 2004
7:02 pm
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...
10943 J. B. Rainsberger
nails762 Send Email
May 1, 2004
10:57 pm
... Google Abstract Test Case, and especially read any hits at c2.com. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
10944 Ron Jeffries
ronaldejeffries Send Email
May 2, 2004
2:56 pm
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...
10945 J. B. Rainsberger
nails762 Send Email
May 2, 2004
7:53 pm
... 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...
10946 Thomas L Roche
tlroche Send Email
May 2, 2004
8:55 pm
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...
10947 Andrew Wilson
anewilson Send Email
May 3, 2004
2:36 pm
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...
10948 Andrew Wilson
anewilson Send Email
May 3, 2004
2:37 pm
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...
10949 Ron Jeffries
ronaldejeffries Send Email
May 3, 2004
2:37 pm
... 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...
10950 James Cheesman
jdcheesman Send Email
May 3, 2004
2:38 pm
... 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...
10951 kavitha arumugam
kavi_sydney Send Email
May 3, 2004
2:41 pm
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...
10952 J. B. Rainsberger
nails762 Send Email
May 3, 2004
2:45 pm
... <snip /> ... Rudeness objection. Dial it down a notch, will you? ... Please lecture someone else about things they already know. <snip /> ... Agreed,...
10953 J. B. Rainsberger
nails762 Send Email
May 3, 2004
2:50 pm
Ron Jeffries wrote: <snip /> ... Like the ones in Adventures in C#? :) Agreed. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com...
10954 J. B. Rainsberger
nails762 Send Email
May 3, 2004
4:49 pm
... 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,...
10955 J. B. Rainsberger
nails762 Send Email
May 3, 2004
4:49 pm
... 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...
10956 Waldomiro
wmirochat Send Email
May 4, 2004
5:08 pm
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...
10957 Mark Van Peteghem
mvp_be Send Email
May 4, 2004
5:08 pm
... 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...
10958 Shane Mingins
shanemingins Send Email
May 4, 2004
5:09 pm
... 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...
10959 J. B. Rainsberger
nails762 Send Email
May 4, 2004
5:17 pm
... Yes. Someone mentioned that here several months ago and I remember discussing how the two patterns were equivalent. I haven't tried using Parameterized...
10960 J. B. Rainsberger
nails762 Send Email
May 4, 2004
5:25 pm
... 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...
10961 brilliantgreen333
brilliantgre... Send Email
May 4, 2004
5:30 pm
Could someone please give a quick overview of the purpose of this class? Specifically the testWrongException method? Thanks for your feedback...
10962 whynotcode Send Email May 4, 2004
5:30 pm
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...
10963 Michael Feathers
mfeathers256 Send Email
May 4, 2004
5:30 pm
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...
10964 J. B. Rainsberger
nails762 Send Email
May 4, 2004
5:45 pm
... 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...
10965 J. B. Rainsberger
nails762 Send Email
May 4, 2004
5:54 pm
... 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 ...
10966 J. B. Rainsberger
nails762 Send Email
May 4, 2004
5:55 pm
... 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...
10967 Andrew Wilson
anewilson Send Email
May 7, 2004
8:47 pm
JB, Thanks I found it. Will take a look. Kindest regards, Andrew. ... offer ... into ... my ... better ... have...
10968 lavangu Send Email May 7, 2004
8:48 pm
Is there any way i can override AssertEquals? My intention is to compare 2 Arraylists for similarity of its contents....
Messages 10939 - 10968 of 24387   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