Well, again -- these tests are minimal guarantees that certain base features work as advertised. It would be very sloppy of us if we didn't have assurance that they worked. We could, of course, do the testing by hand.

By the way, having poked around a bit with JMeter this past weekend, I must tell you that I am not a fan. It is overly complex, in my opinion, and worst of all we can't see the results when running tests from the Ant scripts; you have to open up the result HTML pages and inspect them visually.

To fix the web unit testing conundrum, I'd much rather see us do one of two things. First, we could re-write the tests in HttpUnit (which is what JWebunit is layered on top of). The problem is that HttpUnit is a bit complex.

Alternatively. we could also use something like Selenium, which I've heard good things about. It's Apache 2.0 licensed and can run under JUnit control. Check the "Programming a Selenium RC Test" Java section. It's my kind of tool: nice and simple.

http://openqa.org/selenium-rc/tutorial.html

Are we wedded to JMeter at this point?

Andrew


On Nov 26, 2007, at 2:49 PM, Dirk Frederickx wrote:

Andrew,

Also I've not touched the JWebunit code over the last months.
Actually, so far I've not been able to get the web junits running at all.


dirk

On Nov 26, 2007 8:28 PM, Andrew Jaquith <[EMAIL PROTECTED]> wrote:
I need to check the web unit tests (both the JWebunit ones, and the
JMeter ones). Unfortunately the last time I tried doing it, the
JWebunit tests failed all over the place -- which didn't give me lots
of confidence. Those tests are minimal guarantees that adding pages,
logging in, cookie assertions, group permissions and memberships, etc.
actually work as advertised.

-1 until our legacy web unit tests run successfully (which they might
already). Dirk and Janne, please advise if my impressions are
mistaken. (I've not touched the JWebunit code in the last several
months...)

Andrew


On Nov 26, 2007, at 2:12 PM, Dirk Frederickx wrote:

+1   ready for v2.6 -- finally ;-)

dirk

On Nov 25, 2007 10:24 PM, Murray Altheim <[EMAIL PROTECTED]> wrote:

Janne Jalkanen wrote:
How many days are you setting aside for this determination? (busy
week)

How long do you need? I was planning to wait until enough +1's
(three or
so) and no -1's...

Oh, probably a couple of days, Wednesday at latest.


Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>
===  = =
http://www.altheim.com/murray/
= =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk
= =  = =

     Boundless wind and moon - the eye within eyes,
     Inexhaustible heaven and earth - the light beyond light,
     The willow dark, the flower bright - ten thousand houses,
     Knock at any door - there's one who will respond.
                                     -- The Blue Cliff Record




Reply via email to