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) { ...
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...
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...
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...
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...
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,...
... 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)...
... 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...
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@...
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 ...
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...
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...
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...
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 ...
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...
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...
... 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...
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 ...
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...
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...
... 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...
... 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...
... Typically, no. Tests do not invoke other tests. Instead, simply refactor. Start here, with duplication in the tests: public void testAddBookOk() { ...
... 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...
... 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...
... Did you know about GSBase's "RecursiveTestSuite" or JUnit-addons39; "DirectorySuiteBuilder"? If you did, then did you folks build something neat that they...
... 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...
... 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...