hi,

what's the difference/implications between running "python setup.py
nosetests" from app/ vs calling "nosetests" from app/app/tests/?

furthermore, what about calling nose tests on individual functional
tests, such as "nosetests tests/functional/test_mycontroller.py"?

one thing i noticed is that if you test everything by running "python
setup.py nosetests" from app/ or calling "nosetests" from app/app/
tests/, it triggers the setup_db function in tests/__init__.py even
though it's not called from setUp().  conversely, if you run
"nosetests tests/functional/test_mycontroller.py", it won't trigger
setup_db() unless you add setup_db() to setUp().  why is that?

thanks,
steve

--

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.


Reply via email to