Hi Alessandro, Thanks so much for your reply. I'm looking at tgext.ecommerce right this second for some hints on how to do this --- the structure with its enclosed sample_app is definitely helpful.
I'll take a look at the links/packages you've referred to and I hope that they can fill in the missing blanks. Many thanks again, Rob On Monday, 20 October 2014 11:56:40 UTC+1, Alessandro Molina wrote: > > You might want to have a look at tgapp-turbopress and tgapp-registration, > both of them have a test suite which runs the tests on SQLAlchemy and > MongoDB (as the pluggables support both) it might help you. Especially the > base.py file. > > > https://bitbucket.org/axant/tgapp-turbopress/src/fe5bad48e6a6756a55db6d2de8ffb25f441652ae/tests/?at=default > > https://bitbucket.org/axant/tgapp-registration/src/366be3ecf9b7c11e335e0822545497d55ef02460/tests/?at=default > > On Mon, Oct 20, 2014 at 11:54 AM, Rob <[email protected] <javascript:>> > wrote: > >> >> Say I have a project "demoapp" (which is tested --with-coverage etc) and >> a "pluggable" application (let's call it "plug_x") >> >> The "plugged application" (ie demoapp) contains all the machinery for >> setting up the controllers/models whilst 'plug_x' (a re-usable component) >> has no obvious location for placing any relevant tests (for its >> models/controllers etc). >> >> In other words if I have multiple projects which all use the same plugin >> I'd like the 'pluggable' to have a single directory of tests which can then >> be called (or incorporated) by each application which uses it. >> >> Is there a recommended 'pattern' for setting up and calling such tests ? >> >> >> Thanks, >> Rob >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TurboGears" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/turbogears. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

