On 1/24/07, Carlo Sogono <[EMAIL PROTECTED]> wrote: > I have followed the basic testing tutorial in the PylonsHQ site, but am > unsure as to how to proceed with more complex scenarios. > > Basically, like most people, my Pylons data relies heavily on databases > (PostgreSQl to be exact). How do people test controllers that, say, > display transaction records from databases? This data changes all the > time and I'm not the only developer working on our test databases...so > it's not logical to expect certain output when the data is dynamic. > > I have seen people create 'dummy databases' for the sole purpose of > testing where they populate them with data and do testing there. However > I cannot seem to find any information online on how to do this with > Pylons. How is everyone else doing their testing? > > Thanks in advance, > Carlo
I think this falls under the category of "agile testing strategies" for "functional tests". There's going to be a tutorial at PyCon. There's probably a nice book on it as well. Happy Hacking! -jj -- http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
