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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

New to group... Is there a pointer to how to use xunit testing to test ui code? I'm getting pushback from engineers on doing this. Thnx /b...
2 Jul 30, 2001
11:59 pm

Robert Watkins
robertw@...
Send Email

... Excellent. It always helps to have more pairs of eyes. This should be sufficient until such time as it isn't, then do more. :) Thanks, Neil. JBR. ...
1 Jul 30, 2001
5:44 pm

J. B. Rainsberger
jbrains762@...
Send Email

If you want to eliminate the boolean, use your first example and do the assert in the catch block. public void test_00_isPartnerAssigned() { try { ...
18 Jul 30, 2001
3:22 pm

Jason Rogers
jason.rogers@...
Send Email

As I said before, I would just want a warning when a test method is empty or has no asserts... but I don't want to go to the trouble of getting some ...
12 Jul 30, 2001
3:18 pm

Mathieu Gervais
egoine_@...
Send Email

... Hm. Why are you so concerned about it? Sometimes you write assertions that pass because you refactored earlier to a more general case. That's not ...
1 Jul 28, 2001
4:18 pm

J. B. Rainsberger
jbrains762@...
Send Email

Hi all, I'm new to using JUnit and I have a question on how to handle the following situation. I have ClassA which accepts a Collection of objects in its ...
1 Jul 28, 2001
1:04 am

reply_das@...
Send Email

[Jeff Langr...] ... Do you care whether the assert is run for the first time, or simply that it still fails? I suppose one possibility is that the assert is...
2 Jul 27, 2001
7:41 pm

Jeff Langr
JLangr@...
Send Email

... AHA! AHA AHA AHA! That's it! Why is it always the case that someone else says perfectly what I'm trying to say poorly? It is not important whether method X...
1 Jul 27, 2001
6:55 pm

J. B. Rainsberger
jbrains762@...
Send Email

[Mike Duffy...] ... Mike, you know I love you, buddy, but this grates me more and more I see it. ... "07" means nothing, except possibly to you. "The eighth...
1 Jul 27, 2001
6:52 pm

J. B. Rainsberger
jbrains762@...
Send Email

... [...] ... Exactly. Experiment and measure. I, for one, believe that everyone on this list will behave roughly according to this model: REPEAT: Read the...
1 Jul 27, 2001
6:16 pm

J. B. Rainsberger
jbrains762@...
Send Email

This is probably in a FAQ document somewhere, if so please direct me to it. How does one test a private method? Is the only recourse to make the method...
3 Jul 27, 2001
2:34 pm

Ilja Preu?
I.Preuss@...
Send Email

COMUnit is a Visual Basic port of the JUnit unit testing framework that is designed to facilitate developing unit tests for Microsoft COM components. COMUnit...
1 Jul 27, 2001
7:51 am

Owen Rogers
owen.rogers@...
Send Email

Hi Erik, question not related to JUnit but JavaCC (I saw that you were enthousiastic about that product). I try to write a code generator for JUnit testcases...
2 Jul 27, 2001
1:42 am

Erik Meade
emeade@...
Send Email

My apologies if this has already been addressed. As of jdk1.4 java defines assert as a key-word. The class TestCase and its derivatives will cause a compiler...
2 Jul 26, 2001
2:34 pm

Holliday, Donald B. (...
dhollida@...
Send Email

Hello All, I am new to unit testing. I am usint junit framework for testing. I think i am little bit confused while creating the testcases. Actually the ...
2 Jul 26, 2001
2:29 pm

Jason Rogers
jason.rogers@...
Send Email

JDepend 1.4, the freely-available Java package dependency analyzer, has been released. Of particular interest to JUnit users is the ability to write tests...
16 Jul 26, 2001
1:37 pm

Jason Rogers
jason.rogers@...
Send Email

Is the following statment true? Within JUnit, an exception caught by the framework is an error. __________________________________________________ Do You...
8 Jul 26, 2001
12:55 pm

Jeff Langr
JLangr@...
Send Email

... Let me know if this works for you... http://c2.com/cgi/wiki?JavaUnitBestPractices JBR. _________________________________________________________________ ...
4 Jul 26, 2001
6:26 am

Mike Duffy
mduffy_lists@...
Send Email

I've read (mostly) the thread about this, and while I don't personnally need asserts count, I think it's an interesting discusssion and could be the base for a...
8 Jul 25, 2001
1:05 am

Mathieu Gervais
egoine_@...
Send Email

... You will not like this answer. Sorry about that. No, and that is by design. One of the key requirements of unit testing is "Report for each test only...
3 Jul 25, 2001
12:15 am

Robert Watkins
robertw@...
Send Email

Hi Erik; It gets stranger. In trying to write a simple set of test cases, I discovered that the problem only exists if the exception is thrown from a class...
3 Jul 23, 2001
8:19 pm

Mathieu Gervais
egoine_@...
Send Email

Hi, I wonder if there is a way to obtain the name of the current test method, when you are in setUp() or tearDown()? Usage : public void tearDown() { ...
6 Jul 23, 2001
4:07 pm

Alain RAVET
aravet@...
Send Email

<snip> Now for the "count-assert" mechanism: I don't think that adding a plug-in is the way to go. The easiest way is to declare a static variable in the...
2 Jul 23, 2001
3:41 pm

Vladimir Bossicard
vladimir@...
Send Email

Hi all, In Visual Age for Java I'm now getting used to do my JUnit tests for the EJB we're developping. I'm now facing a simple problem. My code crashes...
1 Jul 23, 2001
2:12 pm

tsmets@...
Send Email

this.toString() produces the method signature of the currently running test. -Jason ... http://docs.yahoo.com/info/terms/...
1 Jul 23, 2001
2:11 pm

Jason Rogers
jason.rogers@...
Send Email

Hi Jason. Thanks for responding. It's definitely not reaching the catch block. The assertions aren't being checked, and even adding a System.out.println("help...
3 Jul 23, 2001
1:33 pm

Jason Rogers
jason.rogers@...
Send Email

Everyone: In the interest of not flooding this group with my "Out of Office" response, I'm unsubscribing from this account and re-joining the group through my...
5 Jul 21, 2001
3:01 pm

Paul Hodgetts
prh@...
Send Email

For anyone who is going to XP Universe this coming week... There is a slight program change to the session on Tuesday morning, 8:30 to 10:00 AM, entitled...
1 Jul 21, 2001
2:51 pm

Paul Hodgetts
prh@...
Send Email

I've provided coded examples below. My basic question is this: Does Junit (3.7) manipulate exceptions in some way that would prevent an exception from being...
2 Jul 20, 2001
8:25 pm

Jason Rogers
jason.rogers@...
Send Email

Hi Thomas, ... lookups can take sometimes many seconds. Are you aware that you aren't forced to use instantDB for the data source of the persistent name...
1 Jul 20, 2001
5:29 pm

Mathieu Gervais
egoine_@...
Send Email
  Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help