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 10363 - 10393 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10363
... Distribution size might be an issue. For example, when doing a Java Webstart installation, we want the distributables to be small. In general, I *would*...
Ilja Preuss
ipreussde
Offline Send Email
Feb 2, 2004
2:14 pm
10364
Bauduin Raphael wrote: <snip /> ... No: you are correct. First, JUnit adds all the tests, then executes them. ... That's definitely the problem. How to handle...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
6:25 pm
10365
... Sometimes yes; sometimes no. Mostly no, but I think "yes". -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
6:27 pm
10366
... The stylesheet for <junit-report> is in the optional.jar file. Is that what you mean? -- J. B. Rainsberger, Diaspar Software Services ...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
6:27 pm
10367
... Absolutely and categorically incorrect. Each test (meaning test method) executes in a different instance of (your subclass of) TestCase. That is how JUnit...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
6:32 pm
10368
... If tests are to be documentation about how to use the code being tested, then tests should only use only public methods/interfaces. Also, if tests depend...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
10:05 pm
10370
... When you say "write suites", what do you mean? What specifically do you expect such a tool to do? It sounds like you want something to collect a number of...
J. B. Rainsberger
nails762
Offline Send Email
Feb 2, 2004
10:06 pm
10371
Rats, I spoke too soon. That didn't fix it after all. :( (I ran the run the wrong class.) ... couse...
rb
richardbondi
Offline Send Email
Feb 2, 2004
11:40 pm
10372
Woohoo!! That solved it! How did you think of that? Thanks much, ... couse...
rb
richardbondi
Offline Send Email
Feb 2, 2004
11:41 pm
10373
Here's what the problem was: The base class contained <pre> public static Test suite() { return new TestSuite(myBaseClase.class); } </pre> Any class that has...
rb
richardbondi
Offline Send Email
Feb 2, 2004
11:41 pm
10374
... these examples are *really* helpful. I have only been doing unit testing (for each class) for a few months. and trying to figure out how to organize the...
Ray Tayek
rwtfg
Offline Send Email
Feb 2, 2004
11:41 pm
10375
Thanks Jamie, I got my answer. it is wise to set up for each test. ... use only once. Although it is usually wise to set up each individually test and this is...
joshi_pranav_p
Offline Send Email
Feb 2, 2004
11:42 pm
10376
Hi, I am making a application to test the java base product. Now in order to do that how to handle the exception. to be more specific, How to diffrentiate the...
pranav_p_joshi
joshi_pranav_p
Offline Send Email
Feb 2, 2004
11:42 pm
10377
... A JUnit test either fails or generates an error. USUALLY a failure means your code is wrong; USUALLY an error means the test /or/ the environment is wrong....
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
12:27 am
10378
I usually use something like: // caveat: not real code... void testInvalidDBConnection() { Connection conn = null; try { String ignored =...
James Cheesman
jdcheesman
Offline Send Email
Feb 3, 2004
3:25 pm
10379
If an exception occurs in a test method, it is thrown to the JUnit framwork (testXyz() throws Exception). In the tearDown() method another exception occurs....
haefeleuser
Offline Send Email
Feb 3, 2004
3:26 pm
10380
I am running JUnitEE It works fine on subsets of my test suite but when I run the whole suite (about 700 tests) I get an out of memory exception while xalan is...
tpbyrc
Offline Send Email
Feb 3, 2004
3:26 pm
10381
Hi all, a colleague of mine once told me that she never did unit testing. Her argument was that unit tests, as performed today, are able to check only a...
obi300
Offline Send Email
Feb 3, 2004
3:27 pm
10382
... you ... collect a ... filename ... start ... Hello, my first idea was to find a tool generating a TestSuite as java-code from the java-sources and writing...
ernsthlg
Offline Send Email
Feb 3, 2004
3:28 pm
10383
... I have a simple observation to make on this topic. I have seen unit testing work on many kinds of problems. I have never seen theorem provers work on...
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
3:43 pm
10384
... Write your own test runner. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416 791-8603 Let's write software that...
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
3:44 pm
10385
... I think an upgrade of Xalan fixes the problem. I have a vague recollection of going through this myself. -- J. B. Rainsberger, Diaspar Software Services ...
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
3:47 pm
10386
... Does she run the specification checking every time the code changes? How long does it take? Does running the specification checking help in the program...
Chris Dollin
anover_alias
Offline Send Email
Feb 3, 2004
3:49 pm
10387
Like you, I also consider the test's exception more interesting than the follow-up problems in tearDown(). I've fixed it (in http://wounittest.sf.net) with the...
Christian Pekeler
pekeler
Offline Send Email
Feb 3, 2004
3:57 pm
10388
... Was your colleague a software developer or tester? If so, in which industry? Sounds academic. How did the quality of her code reflect her theory? Just...
Stirling, Scott
stirlingdev
Offline Send Email
Feb 3, 2004
3:59 pm
10389
... Do you /really/ want to invoke tearDown() twice? -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416 791-8603 Let's...
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
4:02 pm
10390
... No. And it doesn't seem to. Do you have a failing testcase that shows how this runBare() variation invokes tearDown() twice? Here's my test: public class...
Christian Pekeler
pekeler
Offline Send Email
Feb 3, 2004
5:14 pm
10391
Hi , I am getting OutOfMemoryError when I execute the JTest generated JUnit test cases. There are around 200 java test files. Can anyone please help me out in...
Yogesh
mail_to_yogi
Offline Send Email
Feb 3, 2004
6:57 pm
10392
... What have you tried to do so far? What happened when you tried executing only half of those tests? http://www.catb.org/~esr/faqs/smart-questions.html -- J....
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
7:13 pm
10393
... Aha. Good point. The "throw e" in the finally {} block does the trick. It took me a little time to see that. -- J. B. Rainsberger, Diaspar Software...
J. B. Rainsberger
nails762
Offline Send Email
Feb 3, 2004
7:40 pm
Messages 10363 - 10393 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