[Seaside] SeasideTesting for VW is ready
Lukas Renggli
renggli at gmail.com
Sun Jan 23 17:19:10 CET 2005
Wow, these are great news. Thanks a lot!
I will certainly use the framework for the tutorial I am currently
preparing. This basically means that it will be much easier to review
the exercises, e.g. the students just run the tests I have written ;-)
What I found out is that testing a WATask component doesn't work.
Maybe this is because of the redirect the implementation of WATask is
doing? Though I don't know if this is just a VisualWorks issue.
> During testing, HTTP requests are submitted through HTTP, therefore they
> come through the WebToolkit (i.e. testing Seaside also tests WebToolkit).
> I believe that this should also work with Swazoo, but I did not make any
> test yet. At the moment the target for the HTTP requests is hard-coded
> and is for localhost on port 8008. This will need some rework.
I wonder why SeasideTesting doesn't directly create an instance of
WARequest and pass it to "WADispatcher default handleRequest:
aRequest"? Going even deeper into the framework would allow to avoid
having to parse the XHTML and to directly manipulate and test a
document tree.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list