Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31224
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 16444 - 16473 of 24384   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
16444 Kamal Ahmed
KAhmed@... Send Email
Apr 3, 2006
8:02 pm
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) { ...
16445 Louis Tribble
letribble Send Email
Apr 5, 2006
5:10 pm
... To pass a property from Ant, you probably want to use a <sysproperty> element nested in your <junit> task element. Louis Tribble...
16446 prashant pande
p_pande123 Send Email
Apr 5, 2006
5:11 pm
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...
16447 Andi Mirani
andi_mirani Send Email
Apr 5, 2006
5:11 pm
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...
16448 Stephen George
steve_geo_au Send Email
Apr 5, 2006
5:11 pm
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...
16449 elfeczka Send Email Apr 5, 2006
5:12 pm
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...
16450 Jan Cumps
j_cumps Send Email
Apr 5, 2006
7:52 pm
Steve, I've done some reverse engineering and published the structure, and how it's rendered into a report, here: ...
16451 David Saff
dsaff Send Email
Apr 5, 2006
7:53 pm
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,...
16452 J. B. Rainsberger
nails762 Send Email
Apr 5, 2006
10:02 pm
... 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)...
16453 Stefan Bodewig
sbodewig Send Email
Apr 6, 2006
4:08 am
... 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...
16454 MNASRI Riadh
m_riadh80 Send Email
Apr 6, 2006
4:41 pm
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...
16455 Kamal Ahmed
KAhmed@... Send Email
Apr 6, 2006
4:44 pm
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 ...
16456 Stephen George
steve_geo_au Send Email
Apr 10, 2006
2:18 am
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...
16457 guilherme mello
guilhermemel... Send Email
Apr 10, 2006
4:19 am
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...
16458 kultstatus77 Send Email Apr 10, 2006
4:19 am
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...
16459 greg_plummer Send Email Apr 10, 2006
4:24 am
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 ...
16460 matthiasleowegner
matthiasleow... Send Email
Apr 10, 2006
4:24 am
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...
16461 Cédric Beust 
cbeust Send Email
Apr 10, 2006
4:55 am
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...
16462 Jon Skeet
jskeetuk Send Email
Apr 10, 2006
7:39 am
... 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...
16463 jason r tibbetts
tibbettj_at_... Send Email
Apr 10, 2006
1:59 pm
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 ...
16464 didoss@...
dijdoss Send Email
Apr 10, 2006
5:06 pm
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...
16465 Kevin Klinemeier
zipwow Send Email
Apr 10, 2006
6:44 pm
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...
16466 Daryl Richter
n_going_zax Send Email
Apr 10, 2006
9:52 pm
... 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...
16467 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:21 pm
... 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...
16468 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:25 pm
... Typically, no. Tests do not invoke other tests. Instead, simply refactor. Start here, with duplication in the tests: public void testAddBookOk() { ...
16469 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:27 pm
... 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...
16470 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:29 pm
... 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...
16471 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:31 pm
... Did you know about GSBase's "RecursiveTestSuite" or JUnit-addons&#39; "DirectorySuiteBuilder"? If you did, then did you folks build something neat that they...
16472 J. B. Rainsberger
nails762 Send Email
Apr 10, 2006
11:33 pm
... 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...
16473 Cédric Beust 
cbeust Send Email
Apr 10, 2006
11:35 pm
... 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...
Messages 16444 - 16473 of 24384   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help