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 20199 - 20228 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
20199
I am new to junit. I downloaded zip file and cannot get the command: java -cp junit.jar junit,swingui.TestRunner I am following instructions from boob "Agile...
wahoo.java
Offline Send Email
Jan 1, 2008
10:38 pm
20200
What do you get from the command: java -version ? -jn- ... -- Programming is the art of writing essays in crystal clear prose and making them execute. - Per...
Joel Neely
joelneely
Offline Send Email
Jan 2, 2008
12:53 am
20201
follow this link http://www.laliluna.de/assets/tutorials/junit-testing-en.pdf ... [Non-text portions of this message have been removed]...
pankaj khare
pankaj_0405
Offline Send Email
Jan 2, 2008
8:55 am
20202
better to use eclipse and the junit jar to the bulid path . pankaj khare <pankaj.0405@...> wrote: follow this link ...
mritunjay kumar
tinkukumarsinha
Offline Send Email
Jan 2, 2008
11:58 am
20203
... Well you are certainly not the only person getting this! We have upgraded to Junit 4.4 within our project and get the same issue. It makes debugging a real...
yubi
ayub.malik@...
Send Email
Jan 2, 2008
6:42 pm
20204
C:\Program Files\Java\jdk1.6.0_03\bin>java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM...
s l
wahoo.java
Offline Send Email
Jan 3, 2008
3:11 am
20205
... So you do have java on your machine, but it would appear the directory you had to navigate to to run it is not in your PATH. If you navigate back to your...
Mark Salter
mark_l_salter
Offline Send Email
Jan 3, 2008
6:50 am
20206
Dear Anirudh I'm testing one abstract parent class that's having 3 child classes parent class: Vehicle child classes: Van, Lorry, SmallVan unfortunately I...
Chandima R
choi_chandima
Offline Send Email
Jan 3, 2008
12:48 pm
20207
Hi, You can test the child(i.e class implementing the abstarct class).By the way you can get the parent covered.Dont think of writing a test class for abstract...
sk karthik
sk_smile5n
Offline Send Email
Jan 3, 2008
1:04 pm
20208
... This is mentioned in the faq: http://junit.sourceforge.net/doc/faq/faq.htm#tests_17 , which just forwards on to the C2 wiki page at ...
Joe Schmetzer
copabella
Offline Send Email
Jan 3, 2008
1:08 pm
20209
hi friends ; i'm using NetBeans as my development environment and i'm having an abstract parent class caled "Vehicle" that has been inherited by o3 sub clases...
choi_chandima
Offline Send Email
Jan 3, 2008
2:31 pm
20210
... Hi, Ayub. How are your tests defined - the JUnit 3 way (by inheriting from TestCase or a subclass of TestCase) or the JUnit 4 way (by using the...
Bradley, Todd
todd404
Offline Send Email
Jan 3, 2008
10:27 pm
20211
All, I am trying to run a junit task in a build.xml using ANT veersion 1.5 and java version jrockit-jdk1.5.0_06/jre My ant target as seen in build.xml is as...
Srinivasan TK
tksri2000
Offline Send Email
Jan 4, 2008
12:52 am
20212
Hi Pankaj, ... Well, at least you're calling replay() multiple times on the same "controlAccountManager" object. That's not how it should be. You should only...
Lasse Koskela
lassekoskela
Offline Send Email
Jan 4, 2008
10:12 am
20213
All, I am using ANT version 1.6 and not 1.5 as stated earlier. ... ____________________________________________________________________________________ Be a...
Srinivasan TK
tksri2000
Offline Send Email
Jan 4, 2008
10:37 am
20214
Hi Chandima, I m not getting your question properly... Do you want to test abstract class or abstract methods ??? abstract methods cannot be tested as there is...
Kamlesh Kumar
kamlesh2366
Offline Send Email
Jan 4, 2008
10:37 am
20215
... We are using classes that extend TestCase. We cant use the new Junit4 annotations because we are dependant on code in the parent classes. Ayub -- View this...
yubi
ayub.malik@...
Send Email
Jan 4, 2008
10:37 am
20216
hi Kumar I'm trying to test non abstract methods in an abstract class which has been inherited by child classes.but i need not to test abstract parent class...
Chandima R
choi_chandima
Offline Send Email
Jan 4, 2008
3:48 pm
20217
In your test you can create a concrete subclass of the abstract class that has implementations of the abstract methods that do whatever is appropriate for the...
Nat Pryce
nat_pryce
Offline Send Email
Jan 4, 2008
4:53 pm
20218
This won't solve your problem but might shed some ligt on what an unrooted test is (a weak comfort). I have managed to cause unrooted tests earlier in my...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 7, 2008
11:19 am
20219
Chandima, Because abstract classes cannot be instantiated, you must use a subclass. If you want to ensure that you are not testing code influenced by any ...
Joel Neely
joelneely
Offline Send Email
Jan 7, 2008
1:59 pm
20220
Interesting essay on something called pair-wise testing <http://www.stickyminds.com/sitewide.asp?Function=edetail&ObjectType=ART\ &ObjectId=8581> and...
Mike Foley
mike_foley_0...
Offline Send Email
Jan 8, 2008
4:18 pm
20221
So, I just wanted to answer my own question, to close the loop on this matter. If you have a class that uses pure JUnit 4 style, then you can run individual...
Bradley, Todd
todd404
Offline Send Email
Jan 8, 2008
5:36 pm
20222
hi, i did according to you.but its failure. ... [Non-text portions of this message have been removed]...
pankaj khare
pankaj_0405
Offline Send Email
Jan 9, 2008
9:04 am
20223
Hi Chandima, there is a very simple pattern to solve your problem. You can use it to test abstract classes as interfaces as well. Imagine you have a Recycable...
martinboehmsonneberg
martinboehms...
Offline Send Email
Jan 10, 2008
11:33 am
20224
Hello Guys, I am a JUnit-newbie and I would like to test compareTo() for an object from my domain-model. I found a helper class called ComparabilityTestCase in...
Csaba Szucs
csabcsi.szucs
Offline Send Email
Jan 10, 2008
5:43 pm
20225
My .bash_profile adds junit.jar to the classpath. However, my IDE says JUnit isn't found when I try to import the package. When I compile and run WhichJUnit,...
Frisco Del Rosario
cattekin
Offline Send Email
Jan 11, 2008
3:29 am
20226
Most IDEs don't use your classpath variable. You have to configure the classpath in your IDE's project options. How to do this depends on the IDE you are...
j_cumps
Offline Send Email
Jan 11, 2008
7:55 am
20227
... [cut] ... Which IDE are you using?...
Alberto Bacchelli
ajb_sback
Offline Send Email
Jan 11, 2008
10:24 am
20228
... Yeeeeeesh. It's not in the docs for JJ Edit, but that information is in the release notes on the IDE's webpage. If any other JJ Edit users run into this...
Frisco Del Rosario
cattekin
Offline Send Email
Jan 11, 2008
11:08 am
Messages 20199 - 20228 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