The way I see it is that the RichFaces support is something we provide
to get users over the hump. That is, they could still theoretically
test using JSFUnit and the plain HtmlUnit API. But they would have to
do their own research into how richfaces generates names and which bit
of HTML is the true target of the clicks. So an API is needed to cover
up all this complexity and make it so everyone doesn't have to reinvent
the wheel.
The other assumption I've been working under when designing the client
side API is that the developer should be able to write the test by
looking at the JSP or Facelets markup. He shouldn't have to run the
application and look at the HTML. We're not quite there yet for
RichFaces but it's definitely where we want to be.
I'm not sure if that's what you are looking for in an answer.
Any API we come up with to make life easier for the developer will be
greatly appreciated by the community. And we can always change it. I
still consider JSFUnit to be in the early stages of its development. We
are still learning how to do client/server-combined (acrylic box)
testing. So I'm not worried about having to support an imperfect API
indefinitely. We shouldn't be afraid to try things out. (Not that you
ever were - just saying...)
Stan
Brian Gregory wrote:
Sounds good. I've been working on the tree support, but I
don't think I'll
have much checked in before then. It seems that is very similar to table
support in that once you understand how richfaces generates the names, it's
up to the user of jsfunit/htmlunit to click on the right thing. Perhaps we
need some support to help click on open/close icons.
Thoughts?
Brian
-----Original Message-----
From: jsfunit-dev-bounces(a)lists.jboss.org
[mailto:jsfunit-dev-bounces@lists.jboss.org] On Behalf Of Stan Silvert
Sent: Monday, August 25, 2008 10:34 AM
To: JSFUnit list
Subject: [jsfunit-dev] Beta 3 release Tuesday
I'm shooting for Tuesday to do the Beta 3 release. Let me know if there
is something you want to get in at the last minute. I expect this to be
a true old-fashioned Beta in that it's not all perfect.
Also, I'm planning to update all the wiki documentation between now and
Wednesday. Because of the switch to HtmlUnit almost everything in the
docs changed. So I'll do the release, do a low-key announcement on the
forum, then update the docs, then announce more generally on
TheServerSide, InfoQ, etc.
Stan
_______________________________________________
jsfunit-dev mailing list
jsfunit-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jsfunit-dev
_______________________________________________
jsfunit-dev mailing list
jsfunit-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jsfunit-dev