TurboGears doesn't use Paste for URL resolution (CherryPy does that).
I think Paste's tests are similar to TurboGears'
turbogears.tests.util.createRequest, but I'm not certain about that.
Here's the breakdown that I've been thinking about:

- util.call: clean unit tests that test controller/model interaction
without worrying about the view
- util.createRequest: much closer to a functional test because the
view is also run. runs quickly, though, because there's no HTTP
involved and it can use sqlite memory database
- Selenium: run inside a browser against the server. this is the true
functional test and this can handle javascript as well

I haven't worked with Selenium much. If there's something that we
should do to make TurboGears run better with it, I'm all ears.

Kevin

On 11/13/05, Benoit Masson <[EMAIL PROTECTED]> wrote:
>
> Looking into the code it appear that Paste python has a test feature
> for webapps, so if it's in paste it's in turbogears right ? That fine
> because paste seems to extend nose in terms of test so now I can have
> nose for unit testing an paste for web application level tetsing all
> in turbogears ??

Reply via email to