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 16444 - 16473 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
16444
Hi, I need some help here. I am testing a class "WmJournalLogger". method under test: public final void log(Level inLevel, String inKey, Object inParam) { ...
Kamal Ahmed
KAhmed@...
Send Email
Apr 3, 2006
8:02 pm
16445
... To pass a property from Ant, you probably want to use a <sysproperty> element nested in your <junit> task element. Louis Tribble...
Louis Tribble
letribble
Offline Send Email
Apr 5, 2006
5:10 pm
16446
hi srikanth, Goto http://www.junit.org site on which u will get information about junit as well as xUnit architechture. Regards Prashant Pande srikanth master...
prashant pande
p_pande123
Offline Send Email
Apr 5, 2006
5:11 pm
16447
Hi all, I have problems with Junit test lately. Before Junit 4.0 is launched, I was using Junit 3.8 to testing my java code and it runs well; However, now it's...
Andi Mirani
andi_mirani
Offline Send Email
Apr 5, 2006
5:11 pm
16448
I've been searching the web over, but cannot find a reference guide to junits xml output. By that I mean what tags it uses, attributes etc. Obversely I can...
Stephen George
steve_geo_au
Offline Send Email
Apr 5, 2006
5:11 pm
16449
Hi, another piece of advice from an other newbie :) I´ve found it totally distracting that there are tutorials and docs on JUnit 3.8 as well as JUnit 4.0...
elfeczka
Offline Send Email
Apr 5, 2006
5:12 pm
16450
Steve, I've done some reverse engineering and published the structure, and how it's rendered into a report, here: ...
Jan Cumps
j_cumps
Offline Send Email
Apr 5, 2006
7:52 pm
16451
Stephen, JUnit does not have any native XML output format. The format you're discussing is probably supplied by Ant; perhaps another list reader knows more,...
David Saff
dsaff
Offline Send Email
Apr 5, 2006
7:53 pm
16452
... This is an excellent point. I have just changed my tutorial to emphasize the fact that it is for JUnit 3.x. Thank you for the feedback. -- J. B. (Joe)...
J. B. Rainsberger
nails762
Offline Send Email
Apr 5, 2006
10:02 pm
16453
... If this is the case, it isn't formally documented by Ant, unfortunately. Reverse-engineeting shouldn't be too hard since the format is pretty simple, it...
Stefan Bodewig
sbodewig
Offline Send Email
Apr 6, 2006
4:08 am
16454
Hello, Please I have to test (with junit of course) a swing application (developed eclipse plugin) that communicates with an msde database. I would like to...
MNASRI Riadh
m_riadh80
Offline Send Email
Apr 6, 2006
4:41 pm
16455
Riadh, Here are some of the UI test to0ls, which are extensions of JUnit: Marathon Marathon is a gui-test tool that allows you to play and record scripts ...
Kamal Ahmed
KAhmed@...
Send Email
Apr 6, 2006
4:44 pm
16456
Thank you all for your comments, it's been most helpful. Something I don't understand with jUnit is what is the conceptual difference between a failure and an...
Stephen George
steve_geo_au
Offline Send Email
Apr 10, 2006
2:18 am
16457
Hi... I have this method to add a book in library: public void testAddBookOk() { book.setTitleBook("The lord of rings"); library.addBook(book); } And i have...
guilherme mello
guilhermemel...
Offline Send Email
Apr 10, 2006
4:19 am
16458
Hi, I'm looking for information on running JUnit tests during an automated build process. I do know that it's possible to include JUnit tasks in Ant's...
kultstatus77
Offline Send Email
Apr 10, 2006
4:19 am
16459
Hi All, We have 2 "AllTests" classes for each package in our system, one that has DB tests and one for everything else. Then we have 2 corresponding ...
greg_plummer
Offline Send Email
Apr 10, 2006
4:24 am
16460
Hi Folks, i just try to understood JUnit 4. But i did not understand how I can add Test to AllTest.class. I add to the tests the Adapter public static...
matthiasleowegner
matthiasleow...
Offline Send Email
Apr 10, 2006
4:24 am
16461
You shouldn't call your method "testAddBookOk" since it's not a test method (it doesn't contain any assert). Also, it will be invoked once by JUnit and then...
Cédric Beust 
cbeust
Offline Send Email
Apr 10, 2006
4:55 am
16462
... my ... This raises an issue which I don't *think* I've seen mentioned here. I find that there's a bit of a benefit when writing test code with EasyMock...
Jon Skeet
jskeetuk
Offline Send Email
Apr 10, 2006
7:39 am
16463
Greg, ... Our project has a similar structure. A couple of months ago I asked the listserve about the usefulness of a custom XDoclet task that would build ...
jason r tibbetts
tibbettj_at_...
Offline Send Email
Apr 10, 2006
1:59 pm
16464
We (internally) created a DynamicTestSuiteBuilder that builds up the suite based on the directory that it is packaged in..."The test runner will run all tests...
didoss@...
dijdoss
Offline Send Email
Apr 10, 2006
5:06 pm
16465
Wouldn't you want to look more at a coverage report, and ensure that it's always at 100%? I don't know about CVS restrictions based on things like this, but...
Kevin Klinemeier
zipwow
Offline Send Email
Apr 10, 2006
6:44 pm
16466
... A failure is a test which doesn't pass. An error is a test which can't be run at all because of some type of a problem. ... -- Daryl self email: ( daryl...
Daryl Richter
n_going_zax
Offline Send Email
Apr 10, 2006
9:52 pm
16467
... An unexpected exception is an error, while a failed assertion is a failure. The general idea is that a failure is typically a problem with your production...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:21 pm
16468
... Typically, no. Tests do not invoke other tests. Instead, simply refactor. Start here, with duplication in the tests: public void testAddBookOk() { ...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:25 pm
16469
... Even if there is a technical solution to this "problem", I would never use it. It assumes that 100% of code needs to be tested. While this might be a good...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:27 pm
16470
... I work in Eclipse. I can right-click a test method, a class, a package, a source folder or a project and run all the tests inside each of them. I much...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:29 pm
16471
... Did you know about GSBase's "RecursiveTestSuite" or JUnit-addons' "DirectorySuiteBuilder"? If you did, then did you folks build something neat that they...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:31 pm
16472
... It's the other side of the coin: either you prefer generating the method, but have to pay for /having/ to generate it, or you prefer not to have to...
J. B. Rainsberger
nails762
Offline Send Email
Apr 10, 2006
11:33 pm
16473
... How quaint :-) Don't you think test groups <http://testng.org> would be a better way to do this? This way the runtime aspect of your tests doesn't impact...
Cédric Beust 
cbeust
Offline Send Email
Apr 10, 2006
11:35 pm
Messages 16444 - 16473 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