The problem is, that the controller, when called in web context is working correctly. What is failing, is the view (as far as I can tell). And it only fails in a mail context. I have no idea how to simulate this.
On Wed, Sep 24, 2008 at 8:25 AM, Patrick Steele <[EMAIL PROTECTED]> wrote: > > Unit testing a controller is really quite easy. I was doing some > documentation patches for MonoRail a few weeks ago and was suprised > how simple the unit testing of a controller can be (I always knew I > should be doing unit testing but never took the time to research it). > See the docs at: > > http://www.castleproject.org/monorail/documentation/trunk/usersguide/testing.html > > -- > Patrick Steele > http://weblogs.asp.net/psteele > > On Tue, Sep 23, 2008 at 11:20 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: >> Hi Ayende, >> >> my test skills are quite mediocre, I did not find out how to create a >> unit test for this. (and could not inspire myself on the castle >> sourcecode from where I am now) > > > > -- Jan ___________________ [EMAIL PROTECTED] www.limpens.com +55 (11) 3082-1087 +55 (11) 3097-8339 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
