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
Messages 20936 - 20965 of 24384   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
20936 John
john_van_v Send Email
Oct 2, 2008
10:54 pm
Hello all, I have a strong programming background in Perl, but Java --even at this late date-- is new to me. In comparison to Perl, I have found it difficult...
20937 raj_sharath Send Email Oct 3, 2008
9:47 am
Hi- The following is my Test class import org.junit.Test; public class Test2 { public Test2() { System.out.println("Inside zero arg con"); } public...
20938 Joakim Ohlrogge
j0hlrogge Send Email
Oct 3, 2008
1:42 pm
... What would you estimate that the propability that it's a 2 in this case?...
20939 idan72
ishai@... Send Email
Oct 6, 2008
9:11 am
Hi, How can I know when a beforeclass is starting? Today with the listener I can know when test start but I need to also know when @BeforeClass method and...
20940 nat_tul Send Email Oct 6, 2008
9:12 am
Hello Sharath. I don't see any point to have a constructor with argument for test case. Could you please share why would this kind of constructor is needed ? ...
20941 yosefshariat Send Email Oct 6, 2008
1:26 pm
Hi How can I handle exception in a theory of JUnit UnitTest? I wrote a @Theory and I want use it in UnitTest repeatedly? Please help me....
20942 Joakim Ohlrogge
j0hlrogge Send Email
Oct 6, 2008
2:08 pm
Could you elaborate a bit? A therory should behave the same for all datapoints - assumptions. Do you expect all cases to throw an exception or only some of...
20943 Joakim Ohlrogge
j0hlrogge Send Email
Oct 6, 2008
2:11 pm
I saw that the mail was unfortunately line-broken. The first assumeTrue should say /assumeThat/ and the second assumeTrue belongs to the comment. Sorry about...
20944 David Saff
dsaff Send Email
Oct 6, 2008
2:57 pm
It's a real hack, but in 4.5 and following, you can use @Theory @Test(expected=SomeClass.class) public void myTest() { ... } Thanks, David Saff...
20945 wennnnke Send Email Oct 7, 2008
8:04 am
... excellent ... messaging ... am ... ask. ... I think the book "Test-Driven Development by Example" is a good start point....
20946 yosefshariat Send Email Oct 7, 2008
8:04 am
... I used new version of Junit(JUnit 4.5) but I can't use @Theory and @ Test together Or @Theory with "expected=AnyException.class". Also I don't want use...
20947 yosefshariat Send Email Oct 7, 2008
8:04 am
... Tanks, but how can I add parameter to this Theory? I can't add any input parameter to this theory. If I add a parameter to this theory, then it throws the...
20948 John van V.
john_van_v Send Email
Oct 7, 2008
4:49 pm
wennnnke wrote: I think the book "Test-Driven Development by Example" is a good start point. Thanks, I think I should add that the most successful...
20949 Leo Uzcategui
leouzc Send Email
Oct 7, 2008
4:49 pm
Hello, I'm interested in exploring the use of JUnit's theories. What is the status and future plans for this experimental feature? I noticed the Java src code...
20950 Mark Petrovic
graminae Send Email
Oct 8, 2008
2:10 am
Good day. I am new to JUnit annotations. I have a need to execute a set of classic account registration tests: register a user by [email, password], verify...
20951 Mike Hill
uly562000 Send Email
Oct 8, 2008
2:58 am
The short and sweet answer Mark is that, while someone else here may post a way to do it, we generally strive mightily to make our tests entirely independent...
20952 Mark Petrovic
graminae Send Email
Oct 8, 2008
6:42 am
Thank you. I'll consider this, which is similarly to how I proceeded after my original post. Mark ... [Non-text portions of this message have been removed]...
20953 David Saff
dsaff Send Email
Oct 8, 2008
1:59 pm
The theory classes should be in junit-4.5.jar. Are you using the version from the website? Theories will continue to be supported. As a matter of fact,...
20954 David Saff
dsaff Send Email
Oct 8, 2008
2:02 pm
John, It sounds like you've had some really frustrating weeks. I've known many people who have gotten ramped up with Eclipse and JUnit without a lot of pain,...
20955 David Saff
dsaff Send Email
Oct 8, 2008
2:04 pm
Hmm. This sounds like a bug in JUnit. Can you post the exact code as a bug report? In the meantime, you may have to workaround with try {} catch {}....
20956 uly562000 Send Email Oct 8, 2008
4:21 pm
Context: I am writing code that monitors the frequency, timing, and results of tests, and the code needs must run from eclipse, intellij, etc, relatively...
20957 Mike Hill
uly562000 Send Email
Oct 8, 2008
4:23 pm
P.S. Or, alternatively, is there some way to identify the core object from inside a custom runner?...
20958 David Saff
dsaff Send Email
Oct 8, 2008
5:26 pm
Hill, There's nothing super easy. You can also add a listener from the RunNotifier passed to run(). We're looking at some similar issues. Ideally, would you...
20959 Joshua Kerievsky
jlk112067 Send Email
Oct 8, 2008
5:50 pm
Hi David, Would there be a way to use a custom TestResult to make this work? We're ideally looking for a solution that also works with 3.8.x. best jk ...
20960 Mike Hill
uly562000 Send Email
Oct 8, 2008
6:14 pm
In my ideal world I'd like to install a listener on any/all tests being run. Anything that makes that happen would be a good thing. A fairly simple fix would...
20961 kentb
kentlbeck Send Email
Oct 8, 2008
8:23 pm
Hill, This is similar to work we are doing to support more time-efficient testing. We don't have a general, pluggable solution. One of the problems is that ...
20962 David Saff
dsaff Send Email
Oct 8, 2008
8:38 pm
Karl, I'm sorry no one ever responded to this. Did you find an answer? It looks like you're using Guice. Could that be a problem? Thanks, David Saff...
20963 yosefshariat Send Email Oct 8, 2008
11:23 pm
Hi I have a problem with "Expected In @Theory". But unfortunately no one understands my problem or maybe I can't descript it. Any way, I want use @Theory with...
20964 daniel.pomrehn Send Email Oct 8, 2008
11:24 pm
Good evening! I'm searching a system for administrating my JUnit tests on a server. I am developing a Framework on my local machine and commit it to a ...
20965 leouzc Send Email Oct 9, 2008
11:38 am
... Yes, but I downloaded it again and found the theory classes this time. ... David, thanks for the info. Can you point me to some examples of how to use...
Messages 20936 - 20965 of 24384   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