> The one thing that I really would like to see is how to output the SA > statement logs while I'm testing the models, and I still haven't > figured this one out so help is much appreciated.
I don't know the answer to this one! > > > With regards to how tests on the model are done it depends on several > > things, > > specially if auto loading is or isn't being used. > > I don't have autoload enabled. Basically all I want to test is that > all the models have their tables and relationships set up correctly, > which isn't hard, except that there isn't anything online that tell me > how to create and drop tables before and after each test, nor is there > anything that tell me how to even get a bound metadata and a autoflush > and transactional session back. I just put three of my working test examples up online for you. They should give you something to go on for unit tests of controllers and model and functional tests using twill for the whole sites. http://www.xornot.com/tg_examples Hope that helps, let me know if you have any questions, I'm still figuring this test business out myself! Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

