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 21787 - 21816 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21787
When faced with this situation I've created stub implementations of the third-party network service that I can start up in the same process as the test. The...
Nat Pryce
nat_pryce
Offline Send Email
Jul 1, 2009
11:54 am
21788
You might want to look at the early chapters in Part III of this: http://www.mockobjects.com/book S. ... Steve Freeman http://www.mockobjects.com Winner of the...
Steve Freeman
smg_freeman
Offline Send Email
Jul 1, 2009
6:56 pm
21789
Hi, I have a pretty fundamental question. I have a class under test and to test each of the methods of the class there are different test methods in my test...
mnferrari2000
Offline Send Email
Jul 1, 2009
10:17 pm
21790
Hi Everyone, I am new to the group so please excuse if I may have overlooked a few norms on my way in. Let me get to the point: I have an application running...
slimer_freak
Offline Send Email
Jul 1, 2009
10:17 pm
21791
Hi! I read from the documentation that failed assumptions should be reported as ignored test cases but when I'm trying to use them my test cases are passed...
stefan_lun
Offline Send Email
Jul 1, 2009
10:18 pm
21792
A full set of patches that allows parallel running of tests in maven/spring3/junit environment has been released. This blogpost...
krosenvold
Offline Send Email
Jul 1, 2009
10:58 pm
21793
Although there are advantages in organization to putting all the test methods for one system class in one test class, this is where it becomes a deep...
David Saff
dsaff
Offline Send Email
Jul 2, 2009
1:37 am
21794
Resolved - I was able to extract the method names through Java Reflection API. Class testClass = Class.forName(MyTestClassName); Method[] methods =...
slimer_freak
Offline Send Email
Jul 3, 2009
12:02 pm
21795
Hello, JUnit is a defacto standard in Java circle, which means it has a rich ecosystem. I would like to "hijack" this ecosystem for other ...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Jul 3, 2009
5:25 pm
21796
Hi, I tried to generate parameteric tests with JUnit 4.6. I don't know if this is an expected behavior. Test Code @RunWith(Parameterized.class) public class...
kartik_krishnanand
kartik_krish...
Offline Send Email
Jul 4, 2009
1:12 am
21797
Why not use an existing C/C++ framework? Gtest is my current favorite. Charlie...
Charlie Poole
cpoole98370
Offline Send Email
Jul 4, 2009
3:21 am
21798
I've modified the program by adding a counting variable that is scoped to the class. You can play arround with why this is important on your own time... but...
Mike Forsberg
bigmike_f
Offline Send Email
Jul 4, 2009
1:07 pm
21799
It seems like this is intended. The documentation here: http://junit.org/apidocs/org/junit/runners/Parameterized.html When running a parameterized test class,...
Puneet Lakhina
mnferrari2000
Offline Send Email
Jul 4, 2009
1:07 pm
21800
Thanks for your answer, We use a framework for writing and executing tests (eg. at present CUnit and CPPUnit). But we are in a mixed language environment and ...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Jul 6, 2009
12:21 pm
21801
... Arnaud, There are definitely ways to do what you want. Runner doesn't require a Java class, it just happens that almost all of the provided subclasses do...
David Saff
dsaff
Offline Send Email
Jul 6, 2009
2:14 pm
21802
Stefan, Failed assumptions _should_ be treated as ignored. Unfortunately, at the time assumptions were released, Eclipse had bad behavior if a test method was...
David Saff
dsaff
Offline Send Email
Jul 6, 2009
2:24 pm
21803
Hello, There is no more any GUI shipping with JUnit 4, at least that I am aware of. Does there exist somewhere a GUI component (ideally a JPanel ... Thanks ...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Jul 7, 2009
1:33 am
21804
hello david, thanks for your encouraging mail. Right now, I just used the Result and RunListener classes and interfaces to manage feedback from my tests, but...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Jul 7, 2009
1:33 am
21805
... You could look at the Test Anything Protocol, which is used to gather results from tests written in different languages. There is a Java implementation. ...
Nat Pryce
nat_pryce
Offline Send Email
Jul 7, 2009
5:58 am
21806
Kristian, Thank you for the patch. David and I had reviewing it on our list last night but we ended up switching metaphors for the functionality formerly known...
kentb
kentlbeck
Offline Send Email
Jul 7, 2009
10:09 am
21807
... As far as I can tell, GUIs for JUnit have been left to the IDE providers. Can you let us know more about your situation if you aren't able to use one of...
James Abley
taboozizi
Offline Send Email
Jul 7, 2009
11:56 am
21808
I run junit from eclipse. When I use parameterized tests, the junit output provides no information to identify the individual tests. Is there a way to specify...
sburoff1
Offline Send Email
Jul 7, 2009
9:05 pm
21809
Ok, thanks for clarification. But how do we proceed to have the expected functionality? I don't know what's happening with eclipse but I don't think that...
Stefan L
stefan_lun
Offline Send Email
Jul 11, 2009
1:07 am
21810
I'm new to JUnit. From what I have been able to find out so far it appears that JUnit can not report any kind of test coverage statistics against the source...
Frank
afranka69
Offline Send Email
Jul 14, 2009
11:57 pm
21811
... Yes, this is true, JUnit "only" runs your tests and reports test execution results. ... There exists quite a few code coverage tools for java out there, ...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Jul 15, 2009
1:13 pm
21812
For Java you'll want either Emma: http://www.eclemma.org/ Or Cobertura: http://cobertura.sourceforge.net/ I personally use Emma for its Eclipse plugin and...
Colin Vipurs
zodiac_zx6
Offline Send Email
Jul 15, 2009
1:14 pm
21813
Cobertura Sent from my iPhone On 15 Jul 2009, at 00:34, "Frank" <afranka69@...> wrote: I'm new to JUnit. From what I have been able to find out so far it...
Chris Barran
chris.barran
Offline Send Email
Jul 15, 2009
1:15 pm
21814
Hi Frank,                Take a look at EMMA. That might be of some help to you Thanks, Ravi ________________________________ From: Frank...
ravi kiran
kiranpalelli
Online Now Send Email
Jul 15, 2009
1:19 pm
21815
Hi, Currently, I have a requirement of comparing results of two JUnit reports(with same set of tests). The result of this comparison activity should be to...
rohitkulkarni15
Offline Send Email
Jul 16, 2009
11:35 am
21816
All, JUnit 4.7 will include a new mechanism for changing the behavior and interpretation of test methods. We are calling this feature Rules (replacing the...
David Saff
dsaff
Offline Send Email
Jul 16, 2009
6:29 pm
Messages 21787 - 21816 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