On Fri, Mar 26, 2010 at 11:29 PM, Ben Gerdemann wrote:
> I found the Django documentation about testing E-mail services
> confusing. It says here
> http://docs.djangoproject.com/en/1.1/topics/testing/#e-mail-services
> "Django's test runner automatically redirects all
Ben Gerdemann wrote:
> I am using "manage.py testserver" and Selenium to drive the browser.
Therefor you are running thru the real webserver, not its mock.
And, incidentally, most testing effort should be in unit tests -
Selenium should _only_ test the last mile of integration, where stuff
like
I found the Django documentation about testing E-mail services
confusing. It says here
http://docs.djangoproject.com/en/1.1/topics/testing/#e-mail-services
"Django's test runner automatically redirects all Django-sent e-mail
to a dummy outbox", but the example code shows using the 'mail' object
3 matches
Mail list logo