fuel / email

Fuel PHP Framework - Fuel v1.x Email library
60 stars 38 forks source link

Dummy driver for unit testing #29

Closed kenjis closed 12 years ago

kenjis commented 12 years ago

Use case:

I have a model to send email. And I want to test it. Now every time I run test, email is actually sent.

If there is a dummy driver which does nothing, I don't have to send email if I use it on test environment. It is not needed sending email, because I do test of the model, not Email package.

Ref: http://fuelphp.com/forums/topics/view/9288