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...
Show off your group to the world. Share a photo of your group with us.

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 17055 - 17084 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
17055
... Yes. What could you do to avoid that problem? -- J. B. (Joe) Rainsberger :: http://www.jbrains.info Your guide to software craftsmanship JUnit Recipes:...
J. B. Rainsberger
nails762
Offline Send Email
Jul 3, 2006
12:02 pm
17056
In my test class, when I try to instantiate this certain class I get ExceptionInInitializerError. The superclass of this class has a static block. I can...
stanltheman
Offline Send Email
Jul 3, 2006
5:23 pm
17057
Chris, I could guess. But if you could try to boil down the example to 100 lines of code or less which exhibits the error, and post it here, it would be a...
David Saff
dsaff
Offline Send Email
Jul 3, 2006
6:14 pm
17058
Surround the code in the static initializer with a try/catch and print a stack trace: static { try { // original code from static initializer } catch(Throwable...
Brett L. Schuchert
schuchert
Offline Send Email
Jul 3, 2006
7:16 pm
17059
Is it possible to run some test case of testclasss in one go? For example, say I have10 testcases in MyTest.java class. I want to run say 4 of them which...
Ejaz Nasser
ejaz_an
Offline Send Email
Jul 4, 2006
5:19 am
17060
Hi Rain, What are the Limitations of JUnit or Disadvantages of JUnit. Accordfing to the research i have done. I have found few limitation.They are JUnit has...
swetha yalamanchili
sb_syalamanc...
Offline Send Email
Jul 4, 2006
5:58 am
17061
... The biggest limitation, in my view, is that the tests are written in Java. As a consequence, they are hard to understand by non-technical people, and ...
Ilja Preuss
ipreussde
Offline Send Email
Jul 4, 2006
8:52 am
17062
Hi, I am trying to test the createService method of an mbean as it contains code to load the persisted attributes from the database. I am trying to obtain an...
mravi_in
Offline Send Email
Jul 4, 2006
9:57 am
17063
Hi All Are there some guidelines/Best practices for writing good JUnit Test cases? Any pointers would be helpful TIA Harshal -- ...
Harshal Shah
uranshah
Offline Send Email
Jul 4, 2006
10:04 am
17064
... The following search returned some pretty good hits: http://www.google.com/search?q=junit+best+practices Good luck! -- Joe Schmetzer .:. Renaissance...
Joe Schmetzer
copabella
Offline Send Email
Jul 4, 2006
10:32 am
17065
I have been given the task at my workplace to be the junit guru for our development team. While we have the basic shell in place to make use of it, no one has,...
Michael Schilder
ansfrid
Offline Send Email
Jul 4, 2006
2:49 pm
17066
<trite>Keep the bar green, keep the code clean!</trite> -- Stephen Smith, MEng (Wales). http://www.stephen-smith.co.uk/...
Stephen Smith
steve@...
Send Email
Jul 4, 2006
7:01 pm
17067
Thankyou Brett and David, I have resolved it. I put try, catch around the static initializer and found out it was a null pointer exception. I had a try, catch...
Finch, Christopher
stanltheman
Offline Send Email
Jul 5, 2006
1:38 pm
17068
Hello all, I just want to know whether we can test XML APIs using junit. Thanks and regards, AmudhaK...
Amudha Karuppannan
akaruppannan@...
Send Email
Jul 5, 2006
4:10 pm
17069
... Yes. See http://www.cafeconleche.org/slides/sdbestpractices2005/testingxml/ -- Elliotte Rusty Harold elharo@... Java I/O 2nd Edition Just...
Elliotte Harold
elharo@...
Send Email
Jul 5, 2006
4:26 pm
17070
AmudhaK, By XML API, you mean XML Documents? Or java code which generates XML. If you can give us sample code then we would have a better idea of its ...
Kamal Ahmed
KAhmed@...
Send Email
Jul 5, 2006
5:56 pm
17071
Having worked out (I think) all the kinks from running junitdoclet as an external program in my eclipse, I have tried generating some junit test classes for...
Michael Schilder
ansfrid
Offline Send Email
Jul 5, 2006
6:03 pm
17072
Does Junit has any feature called nightly build feature ? Which will run everynight & will identify the issues if any from newly developed code? If not then is...
akshitija
Offline Send Email
Jul 5, 2006
8:56 pm
17073
Kshitija, That's an excellent thing to do. Google for "continuous integration": popular tools include Cruise Control and Continuum. Good luck, David Saff...
David Saff
dsaff
Offline Send Email
Jul 5, 2006
9:27 pm
17074
Write tests and code,...write an Ant script to run all the tests,...schedule the ant script to run nightly. ... From: "akshitija" <akshitija@...> Does...
didoss@...
dijdoss
Offline Send Email
Jul 5, 2006
11:24 pm
17075
You might want to take a look at TestNG which allows among many other features "tagging" test cases and then running those by groups. www.testng.org...
Andreas Guther
andreasguther
Offline Send Email
Jul 6, 2006
9:30 am
17076
I am using Junit 4.1 with new style of writing Tests using @Test annotations etc. I have written following class --> EmployeeTest to Test Employee class. ...
pradeep_3diitr
Offline Send Email
Jul 6, 2006
9:31 am
17077
... I read the first hit article. It had so many errors in it, I got sick. -- J. B. (Joe) Rainsberger :: http://www.jbrains.info Your guide to software...
J. B. Rainsberger
nails762
Offline Send Email
Jul 6, 2006
9:31 am
17078
Thanks for your reply Kamal. XML API i meant is ,an actually a method which when called will call a CLI command(this command will be executed in my switch )and...
Amudha Karuppannan
akaruppannan@...
Send Email
Jul 6, 2006
9:33 am
17079
In case you are interested in testing XML generated by your Java applications, I can recommend XmlUnit. It compare a given XML against an expected XML. ...
Andreas Guther
andreasguther
Offline Send Email
Jul 6, 2006
9:35 am
17080
Pradeep, Which version of Eclipse are you using? The following should work in Eclipse 3.2 without change. Two more questions, if I may: 1) This doesn't look...
David Saff
dsaff
Offline Send Email
Jul 6, 2006
11:54 am
17081
thanks Andreas.Unfortunately,the APIs are not Java apis but a set of apis extended by my switch. AmudhaK ... From: junit@yahoogroups.com...
Amudha Karuppannan
akaruppannan@...
Send Email
Jul 6, 2006
12:32 pm
17082
One more thought: please always respond to messages on the list, not directly to the poster. David Saff...
David Saff
dsaff
Offline Send Email
Jul 6, 2006
1:00 pm
17083
Andreas, How different is it from comparing two DOM objects? -Thanks Harshal ... -- http://shahharshal.blogspot.com/ [Non-text portions of this message have...
Harshal Shah
uranshah
Offline Send Email
Jul 6, 2006
1:10 pm
17084
Pradeep, I'm sorry my last message was not more action-oriented. You have two options: A) Upgrade to Eclipse 3.2 B) For your test to work in Eclipse 3.1, you...
David Saff
dsaff
Offline Send Email
Jul 6, 2006
1:11 pm
Messages 17055 - 17084 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