If anyone could post examples of their tests, I would appreciate it.

Cheers,
Tom Longson (nym)



On Thu, Jun 11, 2009 at 12:08 AM, Chris Withers <ch...@simplistix.co.uk>wrote:

>
> Wichert Akkerman wrote:
> > My test setup for Pylons projects looks like this:
> >
> > * tests/__init__.py is empty
> > * tests/base.py has three minimal test case classes: a class which only
> >   configures SQLAlchemy, a class which only sets up a minimal Pylons
> >   environment (with mock session, cache, etc. in the environ), and a
> >   class which combines those two. If useful this file also has some
> >   utility functions that can be called by test methods to create some
> >   standard initial data.
>
> Any chance you could post this base.py somewhere and maybe a simple
> exactly unit and functional test of yours?
>
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
>            - http://www.simplistix.co.uk
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to