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 19937 - 19966 of 24384   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
19966 tryquestions Send Email Oct 8, 2007
11:40 am
A good resource site http://question2answer.googlepages.com thanks. ... the past 3 ... deliver to ... cases ... as a ... source code ... setUp() to ... ...
19965 Johannes Link
jlinkyh Send Email
Oct 6, 2007
3:16 pm
Hi! Maybe some of you folks know ClasspathSuite (http://johanneslink.net/cpsuite.html) a JUnit4 extension for executing test suites in Eclipse across several...
19964 diego_pino_garcia
diego_pino_g... Send Email
Oct 5, 2007
11:11 pm
Hi Todd, You were right, it was related to NetBeans (or maybe something else...who knows) Instead of writing and isolated ant file for compiling the tests as ...
19963 bpuzon
kpt_puzon Send Email
Oct 5, 2007
11:11 pm
... Of course, @BeforeClass methods should be defined in Suite class, NOT in my abstract class. -- View this message in context:...
19962 bpuzon
kpt_puzon Send Email
Oct 5, 2007
11:11 pm
... Now I've got sth like that: @RunWith(Suite.class) @SuiteClasses({package1.AllTests.class, package2.AllTests.class}) class MasterTest {} And in packages 1...
19961 Ilja Preuss
ipreussde Send Email
Oct 5, 2007
11:30 am
... I think that duplication between test production code *is* a smell - if perhaps not an as strong one. When I seen duplication such as in your example, I...
19960 Bradley, Todd
todd404 Send Email
Oct 4, 2007
2:29 pm
Hi, Diego. From your description, it sounds to me like the issue is related to NetBeans' JUnit test runner. I've never used NetBeans, so I don't have any...
19959 diego_pino_garcia
diego_pino_g... Send Email
Oct 4, 2007
1:24 pm
Hi Todd, I am running Junit through NetBeans 5.5.1 I am using junit-3.8.1 I organized my tests in several TestSuites. Every TestSuite inherites from a more...
19958 Nguyen Phuc Hai
haiphucnguyen Send Email
Oct 4, 2007
3:41 am
You are right. I just want to make it general by statements ;-) Regards, Hai ... A nice to express it. For me, the Evident Data is a stream of numbers, which...
19957 J. B. Rainsberger
nails762 Send Email
Oct 3, 2007
10:21 pm
... A nice to express it. For me, the Evident Data is a stream of numbers, which is why I'd rather depend on interface NumberStream, implemented by ...
19956 Bradley, Todd
todd404 Send Email
Oct 3, 2007
3:53 pm
Which version of JUnit are you using? How do you run your tests? Through ant, Eclipse, or something else?...
19955 diego_pino_garcia
diego_pino_g... Send Email
Oct 3, 2007
3:42 pm
Hi all, I wrote a pile of tests for my current project. Tests are running OK when I run each of them individually. Every time I run a testSuite I got a summary...
19954 Ilja Preuss
ipreussde Send Email
Oct 3, 2007
10:32 am
That's a JUnit 3 style test suite. To use such a suite with JUnit 4, you need to annotate the class with @Runwith(AllTests.class) Or you could instead use a...
19953 bpuzon
kpt_puzon Send Email
Oct 3, 2007
10:28 am
... I added this to all test classes: public static junit.framework.Test suite() { return new junit.framework.JUnit4TestAdapter(SimpleTest.class); }, created...
19952 Ilja Preuss
ipreussde Send Email
Oct 3, 2007
7:13 am
How did you code the suite?...
19951 bpuzon
kpt_puzon Send Email
Oct 3, 2007
2:33 am
Hello, I want to do perform action once for a testing process (db connection and so on). So all my test classes derive from an abstract HibernateTest class...
19950 Nguyen Phuc Hai
haiphucnguyen Send Email
Oct 3, 2007
2:33 am
Two rules of unit testing is 'Test your code not library code' and 'Evident data'. For method that the values are not defined until running as random, or takes...
19949 J. B. Rainsberger
nails762 Send Email
Oct 2, 2007
8:21 pm
... I see this as similar to the "how do I test console output?" question. The answer there is to depend on an abstract stream, then plug in the console stream...
19948 James Abley
taboozizi Send Email
Oct 2, 2007
7:32 pm
... ANT tasks are very simple to write, and typically a lot simpler than classloaders. ... I was going to suggest that if you can't do it via ANT, since I...
19947 Carfield Yim
c8133594 Send Email
Oct 2, 2007
3:27 pm
... How about public String getFortuneCookieQuote(Random r){ return fortuneCookieQuote[r.nextInt(4)]; } then provide an implemenation of Random r that provide...
19946 sam.gribbles Send Email Oct 2, 2007
3:33 am
... testing ... random ... array of ... me ... Hi all, Thanks for your efforts in attempting to answer my question. I'll try and be more clear: The task I've...
19945 sam.gribbles Send Email Oct 2, 2007
3:33 am
... testing ... random ... array of ... me ... trying ... that ... be random. ... fortunes, you ... set up ... up a ... and ... Thanks Brian, I've posted a...
19944 Michael Feathers
mfeathers256 Send Email
Oct 1, 2007
8:37 pm
... The key is to take control. Mock out your random number generator. Michael Feathers www.objectmentor.com...
19943 Bradley, Todd
todd404 Send Email
Oct 1, 2007
4:49 pm
Yeah, I don't really want to get into classloader shenanigans too much, personally, if it means the low level Java interface. But has anyone (like the Apache...
19942 albsavoia Send Email Oct 1, 2007
2:29 pm
... Testing random (or more generally, non-deterministic) behavior is an interesting question, and one I like to ask during interviews. We could talk for...
19941 Brian Button
bbutton Send Email
Oct 1, 2007
11:47 am
... Sam, When faced with a question like this, I always ask, "What are you trying to test?" Are you trying to test your randomness algorithm or trying to test...
19940 Harald Walker
harald.walker Send Email
Oct 1, 2007
10:03 am
... people say maven is the best choise to use with junit and some say ant is the best for that. But I there is no real metric about the performance. ... if...
19939 ibrahim demir
ibrahimdemire Send Email
Oct 1, 2007
8:44 am
Hi all; I have a question about running junit tests with a build tool. Some people say maven is the best choise to use with junit and some say ant is the best...
19938 sam.gribbles Send Email Oct 1, 2007
8:42 am
Hi All, I'm new to Junit testing and have been able to do some basic testing etc. What I want to do now is test for objects that are returned in random order....
19937 Nguyen Phuc Hai
haiphucnguyen Send Email
Oct 1, 2007
7:20 am
Hi Tood, I do not know any tools help we solve this issue in advance but in JUnit we have the solution. JUnit allows us change the approach of running testing...
Messages 19937 - 19966 of 24384   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