> I do write buggy tests myself once in a while :(
> Should we test tests? :)

If you worked on nuke power station software, maybe (I hope) you would find
out the answers!

In short, you probably need a code generator to create your test cases. And
this is when you want everything to be as simple as possible, because at the
end of the day, people have to check everything. If you ever studied
structured programming like JSP (Jackson Structured Programming) then all
your code consists of code sequences, iterations and conditions. The basic
units of programming, and you stick to the rules (no gotos). That way your
tests are simpler and fewer.

At least with Tapestry, you don't have that temptation to put some business
logic in the JSP, and who tests JSPs like that!

Keep your page classes nice and simple, make sure business logic is strictly
in POJOs of HiveMind services or similar, sounds good enough to me.

John



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to