I'm trying to run some unit testing on my app, but can't seem to
locate documentation for setting up a test prior to pylons 0.9.6.1

the link below is a great resource, but states,
"Warning
Nose can trigger errors during its attempt to search for doc tests
since it will try and import all your modules one at a time before
your app was loaded. This will cause files under models/ that rely on
your app to be running, to fail.

Pylons 0.9.6.1 and later includes a plugin for nose that loads the app
before the doctests scan your modules, allowing models to be
doctested. You can use this option from the command line with nose:"

[http://wiki.pylonshq.com/display/pylonsdocs/Unit+Testing]


Well, okay, if I had that version then everything would be grand.  But
I don't.  I tried using that example anyway in the hopes that some of
the codebase went into 0.9.6.0, but sadly nose complained that it
didn't know what "with-pylons=test.ini" meant.


Has anyone been able to get unittesting/nose to work with Pylons
0.9.6.0?


Thanks in advance!

john


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to