I only took the existant exemple to begin. At origin, this solution
has been done to learn RhinoMocks using from the documentation.
I read the wiki a little bit more. The documentation core is very
good. He just miss a training package.

It'd be great to finish it and publish the full documentation with
valid exemple on a website like codeproject.

It could be interesting to duplicate every methods with the classical
method and short method (AAA, record-replay, ...)
I'll try to do that.


Sorry Tim for the time I need to commit my work on github. I have some
issue to use it.

Tortoisegit displays everytime an authentification window during the
push. I didn't find any resource on the net for this issue.
I send a ticket to Github support.
http://support.github.com/discussions/repos/2054-authentification-on-my-repository-push

Fabien

On 30 nov, 01:35, Tim Barcz <[email protected]> wrote:
> This is underway. I think support for record/replay and AAA will be great
>
> Tim
>
>
>
> On Sun, Nov 29, 2009 at 7:28 PM, Stephen Price <[email protected]> wrote:
> > This is brilliant. Just was I was looking for.
>
> > At a cursory glance, I notice that most of the tests seem to be Record/Play
> > formatting rather than AAA. Still, it's great. All the unit tests pass too!
> > :)
>
> > If this can be checked into the Rhinomocks source and made available via
> > the documentation, as well as updated with examples of AAA style (perhaps
> > the existing unit tests can have an example of each in them?) that would be
> > fantastic for people learning Rhinomocks.
>
> > many thanks!
> > Stephen
>
> > On Mon, Nov 30, 2009 at 12:21 AM, Fabien Arcellier <
> > [email protected]> wrote:
>
> >> Hello,
>
> >> This visual studio solution contains samples for RhinoMock :
>
> >>http://groups.google.com/group/rhinomocks/web/Documentation-Samples-R...
>
> >> It contains exemple taken from the documentation :
> >>http://www.ayende.com/wiki/Rhino+Mocks+Documentation.ashx
>
> >> For each one, I wrote the minimum implementation to compile and pass
> >> the test.
>
> >> Indeed, lot of exemples written in the documentation are taken from
> >> real project. There isn't any means to use them except to rewrite the
> >> implementation.
> >> It's really time consuming for a developer who'd like discover this
> >> library.
>
> >> I think it's very interesting to have such of things to save time for
> >> developers who'd like to experiments.
>
> >> Perhaps someone more experimented than me can correct some mistakes
> >> and put in the documentation summary page.
>
> >> The library used to compile the project are in the subdirectory lib
> >> with license. Currently, it's :
> >> - nunit 2.5.2
> >> - RhinoMock 3.6
>
> >> Remarks and difference with the documentation :
>
> >> 01-RhinoMocksIntroduction:
> >>  RhinoMocksIntroductionTest.cs
> >>  line 34 : You need to prefix the second param by ExpectedMessage=,
> >> required by Nunit 2.5.2
>
> >> 04-RhinoMocksOrderedUnordered
> >>  RhinoMocksOrderedUnorderedTest.cs
> >>  line 73 : Dispose is a method without return. Implementation change
> >> to be conform.
> >>  line 59 : Whatever the implementation, I don't succeed to pass this
> >> test. I tried by deleting the Unordered calling and these methods
> >> calling, it works fine.
> >>    Exception triggered :
>
> >> RhinoMocksIntroduction.RhinoMocksOrderedUnorderedTest.MovingFundsUsingTransactions:
> >>      Rhino.Mocks.Exceptions.ExpectationViolationException :
> >> IDatabaseManager.Dispose(); Expected #0, Actual #1.
>
> >> 06-RhinoMocksEvents
> >>  SubscribeToEventTest.cs
> >>  line 44 : I changed the implementation of test
> >> VerifyingThatEventWasAttached_AAA. I am not very sure it's correct. If
> >> someone could verify.
>
> >> 07-RhinoMocksIEventRaiser :
> >>  line 46 : We needs 2 params to raise an event
>
> >> 08-RhinoMocksProperties
> >>  RhinoMocksPropertiesTest.cs
> >>  Line 50 : Capacity property doesn't implement in IList, I used
> >> ArrayList as a Mocking Class
>
> >> Regards,
> >> Fabien Arcellier
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "Rhino.Mocks" group.>> To post to this group, send email 
> >> [email protected].
> >> To unsubscribe from this group, send email 
> >> to>>[email protected]<rhinomocks%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/rhinomocks?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Rhino.Mocks" group.> To post to this group, send email 
> > [email protected].
> > To unsubscribe from this group, send email 
> > to>[email protected]<rhinomocks%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rhinomocks?hl=en.
>
> --
> Tim Barcz
> Microsoft C# MVP
> Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://www.twitter.com/timbarcz

--

You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" 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/rhinomocks?hl=en.


Reply via email to