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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 19402 - 19431 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
19402
... Are you sure it works when you mix JUnit 3 features (extending TestCase) with JUnit 4 features (using annotations)? Cheers, James...
James Abley
taboozizi
Offline Send Email
Jun 1, 2007
7:59 am
19403
HI All Could somebody advice me how to generate JUnit reports without using ANT? Thanks Narasimha [Non-text portions of this message have been removed]...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Jun 1, 2007
1:05 pm
19404
Narasimha, The only option I know of is via Maven. Maven 1: http://maven.apache.org/maven-1.x/plugins/junit- report/changes-report.html Maven 2:...
j_cumps
Offline Send Email
Jun 1, 2007
1:40 pm
19405
... Could you tell us more about why you are unable to use ANT, so that we are better equipped to advise on alternatives? Cheers, James...
James Abley
taboozizi
Offline Send Email
Jun 1, 2007
2:22 pm
19406
Hi James I didn't say I am unable to use ANT. My purpose here is I would like to execute remote JUnit tests through java, any where I am not using ANT except...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Jun 1, 2007
2:49 pm
19407
... Hi Narasimha, My point being that your question read (at least to me) as a solution requiring input on the implementation, rather than a problem in context...
James Abley
taboozizi
Offline Send Email
Jun 1, 2007
3:29 pm
19408
Looks like maven is nice alternative. Thanks Jan. From: junit@yahoogroups.com [mailto:junit@yahoogroups.com] On Behalf Of j_cumps Sent: Friday, June 01, 2007...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Jun 1, 2007
7:24 pm
19409
I have a project with tests that all pass for me locally, but then they error out on our build machine. I've tracked the problem down to the ant versions...
Ray Vanderborght
ttftestrayv
Offline Send Email
Jun 1, 2007
7:25 pm
19410
Hi James Thanks for your inputs and appreciate you interest in understanding the situation. Ok, what I did is, I developed some parameterized JUnit tests and...
Narasimha_Tadepalli@...
tn_rao
Offline Send Email
Jun 1, 2007
7:25 pm
19411
... Chapter 5 (I believe) of the book _JUnit Recipes_ ("Working with test data") would help you here. Scott Stirling wrote about this quite deeply. My first...
J. B. Rainsberger
nails762
Offline Send Email
Jun 1, 2007
7:45 pm
19412
... You can't. I suggest pulling the setup code one more superclass higher, making that superclass abstract, then adding one subclass that contains the setup...
J. B. Rainsberger
nails762
Offline Send Email
Jun 1, 2007
7:46 pm
19413
Thanks JB. It's excellent advice. David also suggested it and it's running beautifully. Thanks again, - Ole...
Ole Ersoy
ole.ersoy@...
Send Email
Jun 1, 2007
11:55 pm
19414
Please, picture document. [Non-text portions of this message have been removed]...
russgold@...
russgold
Offline Send Email
Jun 2, 2007
4:54 am
19415
... Sounds more like an ANT issue, which should be reported to the apache ant-users / ant-devs list? James [Non-text portions of this message have been...
James Abley
taboozizi
Offline Send Email
Jun 2, 2007
7:11 am
19416
We are using JUnit 3.8.1 and have our code in /src and /test trees as widely suggested in JUnit literature. However, we also have test code that is not using...
hperryman
Offline Send Email
Jun 4, 2007
1:27 am
19417
I use JUnit to run in-container funtional testing of my web apps. When using JUnit 3, I used to use the technique decribed here ...
perryn_fowler
Offline Send Email
Jun 4, 2007
1:27 am
19418
To answer my own question, it turns out that if you use @RunWith(Suite.class) on a class and add @BeforeClass and @AfterClass to that class, then they will run...
perryn_fowler
Offline Send Email
Jun 4, 2007
12:57 pm
19419
Hi All, my topic is not really JUnit relevant, but you are the test-freaks and I think you can help me! I have to test some methods, wich generate tables from...
Patrick Breucking
marquies_666
Offline Send Email
Jun 4, 2007
4:12 pm
19420
Hi Patrick, ... What do you mean by "static values"? If you're generating the tables, isn't the database content created during and by the test itself? Lasse ...
Lasse Koskela
lassekoskela
Offline Send Email
Jun 4, 2007
5:01 pm
19421
Hi Lasse, the "static values" in the databse should never change before, while or after a test. In operation, the code reads values from an external database....
Patrick Breucking
marquies_666
Offline Send Email
Jun 4, 2007
7:41 pm
19422
Eclipse is a lot smarter than Ant at dynamically discovering source code/config, which can be a good thing or bad thing. Ant has a far simpler discovery...
Stephen Smith
steve@...
Send Email
Jun 4, 2007
8:10 pm
19423
Ah, bummer, that would make build script maintenance much more tricky. I'm surprised though: don't people often write helper classes for testing? If so, where...
hperryman
Offline Send Email
Jun 5, 2007
12:28 pm
19424
Yup, it's an ant issue. I'll answer it here in case anyone runs into it and searches this list's archives in the future. It boils down to my project having...
Ray Vanderborght
ttftestrayv
Offline Send Email
Jun 5, 2007
12:34 pm
19425
Hi Heath, A lot of people write "helper classes for testing" and they put them into what you have labeled "/test" source tree. I suspect that your Ant script...
Lasse Koskela
lassekoskela
Offline Send Email
Jun 5, 2007
3:36 pm
19426
Hi Patrick, ... Yeah, this sounds like a good use for @BeforeClass and @AfterClass. Lasse -- Lasse Koskela * Author of "Test Driven" (Manning Publications,...
Lasse Koskela
lassekoskela
Offline Send Email
Jun 5, 2007
3:43 pm
19427
Greetings, I am trying to find how I can test a class which has collaboration with a singleton or static class. I have attached the source code in this email....
slawalata
k4mpret77
Offline Send Email
Jun 6, 2007
3:00 pm
19428
Here is the part of the script that seems relevant, can you see anything that I'm missing? Thanks very much for your help!!! Heath <property...
hperryman
Offline Send Email
Jun 6, 2007
9:18 pm
19429
Hello Heath, Could you still list the contents of this classpath entry: <classpath refid="junit.classpath" /> In order for Ant's JUnit task to see all the...
Lasse Koskela
lassekoskela
Offline Send Email
Jun 6, 2007
9:35 pm
19430
Hi All, In my test cases the excepted value will be changing frequently.so that i have to in to my code and have to change the excepted value. Instead of doing...
p_thanuja82
Offline Send Email
Jun 7, 2007
11:53 am
19431
Hi All, In my test case the excepted value will be changed frequently. so I have to change my excepted data each and every time in my code. I dont want to go...
p_thanuja82
Offline Send Email
Jun 7, 2007
12:13 pm
Messages 19402 - 19431 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