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

Messages

Advanced
Messages Help
Messages 9774 - 9803 of 24393   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
9774 Jan Vorel
jvorel_2000 Send Email
Nov 2, 2003
10:51 pm
maybe this can help try to subclass TestCase import junit.framework.*; public class YourTestCase extends TestCase { public void runBare() throws Throwable { ...
9775 Jeff Grigg
jeffgrigg63132 Send Email
Nov 2, 2003
11:35 pm
... Consider this alternative: Use a debugger breakpoint to stop after the failed test. I find that I often set a breakpoint in a test that fails; then I...
9776 ljb114ca Send Email Nov 3, 2003
5:15 am
Can some give me a liitle suggestions how to solve the Eight Queens problem with TDD metod?...
9777 Robert DiFalco
robert_difalco Send Email
Nov 3, 2003
3:26 pm
Or you could always just rename the existing database in tearDown using the name of the running test-fixture. Then in setup, you always start with a new fresh...
9778 Jeff Grigg
jeffgrigg63132 Send Email
Nov 3, 2003
4:24 pm
... Start with one queen -- on a 1x1 board....
9779 Jeff Grigg
jeffgrigg63132 Send Email
Nov 3, 2003
4:39 pm
... It might be helpful to have a function to ask... 'Is this a valid configuration of 2 queens on a 2x2 board?' "Q.", ".Q" (No.) 'Is this?' "Q....", "...Q.", ...
9780 Chad Woolley
thewoolleyman Send Email
Nov 4, 2003
7:26 am
... I believe this only applies if you use one of the Junit ant tasks. I use an EXEC tag, which does not set any failure property that I know of. Thanks, Chad...
9781 Dave Astels
astelsd Send Email
Nov 4, 2003
6:44 pm
... Why? There's well documented solutions. Look it up. I had a short discussion with <I forget> at OOPSLA last week about the recurring questions of "how...
9782 Ron Jeffries
ronaldejeffries Send Email
Nov 4, 2003
6:51 pm
... Might be good exercise, though. Ron Jeffries www.XProgramming.com Scientists discover the world that exists; engineers create the world that never was. --...
9783 Timothy Wall
twall@... Send Email
Nov 4, 2003
9:08 pm
... Especially if you're trying to prove to yourself that the method either will or will not work, or (assuming it will) that you're using it correctly to lead...
9784 Ron Jeffries
ronaldejeffries Send Email
Nov 4, 2003
9:18 pm
... Yes. Although the 8 Queens problem isn't really much about programming, and is a lot about conceptualizing. I think it's a good exercise, but perhaps not...
9785 Alain Ravet
alain_ravet Send Email
Nov 4, 2003
10:12 pm
... It reminds me of a similar question, two years ago in the XP list : If you need a sort, and you know bubble sort - almost - by heart, should you 1) work...
9786 J. B. Rainsberger
nails762 Send Email
Nov 4, 2003
11:07 pm
... Is no library implementation available? Has no-one implemented sort? (Silly question, but it has to be asked.) We need to get out of the Not Invented Here...
9787 Dave Astels
astelsd Send Email
Nov 5, 2003
1:10 pm
... Possibly. But very artificial. The point is will I try to test-drive a search or sort algorithm? Not likely... I'll use one with a complexity/efficiency...
9788 Ranjeet Sahay
ranjeetsahay Send Email
Nov 5, 2003
10:04 pm
Hi, Working on JUnit on JDK 1.4.2 it gives certain warning about assert methods. I know this method has been introduced from JDK1.4 onwards. Should they affect...
9789 Siamack
safamack Send Email
Nov 5, 2003
10:04 pm
Hello Everyone: I am trying to run my Cactus test from within the Websphere Studio Application Server and I get the following errors. Can anyone give me a hint...
9790 Jason
jasonriz Send Email
Nov 5, 2003
10:04 pm
Hello, I've just recently started using junit and I've got a quick question. I've created a series of tests using a fixture which look (in form) like the...
9791 J. B. Rainsberger
nails762 Send Email
Nov 5, 2003
11:32 pm
... http://junit.sourceforge.net/doc/faq/faq.htm#organize_2 -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416 791-8603 ...
9792 J. B. Rainsberger
nails762 Send Email
Nov 6, 2003
12:05 am
... <snip /> Your server is not running. Why it isn't running is not something we can diagnose from here without more information. There is a Cactus mailing...
9793 Jason Rogers
jacaetev Send Email
Nov 6, 2003
3:50 am
On Thu, 04 Sep 2003 19:00:53 +0530, "Ranjeet Sahay" <rsahay@...> ... Ranjeet, I believe this question is a FAQ... The answer is to use assertTrue(...) ...
9794 Jason Rogers
jacaetev Send Email
Nov 6, 2003
3:13 pm
Actually, I just looked at that shell script and there seems to be a mistake in it. The 'find' command should have an asterisk before the word java (change...
9795 Jim Dixon
jddbristol Send Email
Nov 6, 2003
3:35 pm
... Jargon Alert: a fixture is what you make assertions about. Usually the fixture is created in setUp() and tested in your testA(), testB(), etc. ... Short...
9796 Dave Astels
astelsd Send Email
Nov 6, 2003
4:36 pm
... Ah.. but in proper usage TestCase == fixture... so I have no argument with his use of the word... assuming he's doing it "right" (i.e. his TestCase is...
9797 Jim Dixon
jddbristol Send Email
Nov 6, 2003
5:18 pm
... Oh. Proper usage. From the Fixture section on JUnit Web site: http://junit.sourceforge.net/doc/cookbook/cookbook.htm "Tests need to run against the...
9798 eller_58 Send Email Nov 6, 2003
5:45 pm
I just downloaded JUnit 3.8.1 from www.junit.org and it doesn't even compile in WebSphere! It looks like someone started to do some refactoring and never...
9799 Henry Chan
puiyipchan Send Email
Nov 6, 2003
5:48 pm
You need to change assert(...) method to assertTrue(...) Henry ... From: Ranjeet Sahay [mailto:rsahay@...] Sent: Thursday, September 04, 2003 9:31 AM ...
9800 J. B. Rainsberger
nails762 Send Email
Nov 6, 2003
5:48 pm
... <snip /> Let us try this again, with one slight correction. "Ah.. but in proper usage each fixture is a different TestCase class..." "test case" (as used...
9801 Jim Dixon
jddbristol Send Email
Nov 6, 2003
6:17 pm
... What you just snipped out was taken directly from the JUnit Web site. Just to keep things clear, let's put it back in: "Tests need to run against the...
9802 J. B. Rainsberger
nails762 Send Email
Nov 6, 2003
6:22 pm
... I assume you mean WSAD. I don't think you imported the .jar file correctly. The packages you mention are /not/ under junit.tests. Try importing again and...
9803 Dave Astels
astelsd Send Email
Nov 6, 2003
7:31 pm
... Here we go again, kids. ... How does that keep things clear? You mean carved in stone, unchangable, and not subject to interpretation? ... Yes. Ideally...
Messages 9774 - 9803 of 24393   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