Re neatness: I find a certain simplicity in the codebase being split into two classes of classes (to overload a word): Foo and FooTest. Given Foo, you'll...
Hi, Somebody mentioned jWebUnit yesterday. I had a look at it and it looks very easy to use. However it looks more like a smoke testing framework rather than a...
Hi When I browsed through the net for JUnit materials I Came across the XUnit frame work often.Can anybody throw some light on whats XUnit frame work. Thanks &...
Greetings, I would like to prepare (populate) a database for unit testing some DAO classes. After executing the unit tests, I would like to restore the...
Robert Taylor
rtaylor@...
Sep 2, 2004 1:08 am
11874
sorry to interrupt the thread. to introduce myself, i am working as a QA engineer in a programming firm. i am new to JUnit. the MONEY example given on the...
... I don't understand the statement "the chapter on testing GUIs". The whole book is about testing a Swing UI, and not just one chapter. What do you mean? -- ...
... In these situations, I've had good success with DbUnit: http://dbunit.sourceforge.net/ I like that you don't have to write SQL to add/delete data....
... AFAIK, it's a generic reference to a JUnit-ish framework. DUnit is for Delphi. NUnit is for .NET. xUnit is a generic reference to any of these. -- Chris ...
xUnit refers to the family of Extreme Programming -inspired unit testing frameworks that have arisen since the original JUnit became popular. See Ron Jeffries'...
... For a typical web application, there are some concerns: each test (a void testXXX() method) gets its own session. So to test a particular webpage in your...
... If I remember correctly (and I may well have missed something), the first part of the book discusses TDD in general and has a chapter on testing GUIs at...
... I was one of them, IIRC. ... It's certainly better suited for end-to-end testing, yes. ... I don't think you can write fine grained "unit tests" with...
... Is anyone aware of a similar tool for C#/.NET?...
Bob Koss
koss@...
Sep 2, 2004 8:39 am
11884
... Ilja, I think you see where I'm coming from: We decided to give jWebUnit a try. We are going to write a test class per use case. They will be integrated in...
Hai, I just looked into the junit framework and trying to implement the same for testing our swing UI. On looking them at first the process seems to confusing...
... I see. To me, the book /is/ the example, so you can understand my perspective. ... Sounds good.... -- J. B. Rainsberger, Diaspar Software Services ...
... I don't know about jWebUnit out of the box, but there's no reason one couldn't use jWebUnit to test web page and web page templates in isolation from the...
On Thu, 2 Sep 2004 06:33:40 +0300, Allan Halme <allan.halme@...> ... Actually, the original was SUnit for Smalltalk. ;) -- Jason Rogers "I am crucified...
Ok, thanks for the heads up. I was concerned as I wrote that that it probably wasn't quite right, given the Smalltalk origins of so much object- and...
... one ... techniques ... tools ... Ah, yes - but try testing a Servlet while stubbing/mocking the rest of the system. It can be done to some amount, but it's...
I have forgotten the guy's name but I recall he said he posted it to the JUnit patches area....
Timothy Wall
twall@...
Sep 2, 2004 9:55 pm
11894
oh, yeah, I think Scott Sterling posted a fix....
Timothy Wall
twall@...
Sep 3, 2004 12:57 am
11895
Hi, I'm using Junit as a test harness for some non-Java tests. To be precise, Junit drives a file comparison operation and if the output file is different from...
The following technique works well for me. 1. modify the TestCase class to implements Comparator 2. add compare() and suite() routines to the TestCase as shown...
Hi Say I have a Project class and Experiment class that I need to test using Junit. They are simple codes that writes into the database. The rule is a Project...
... Naturally. HtmlUnit/jWebUnit/HttpUnit test /web pages/, and not servlets. ... With ServletUnit. In fact, that might be in the book (chapter 12?), although...