This Is Not Only One Of The Nicest Logos That I
This is not only one of the nicest logos that I
have seen, it is also the logo of Rhino Mocks
Boo Macros, which is a language extension
for Boo that integrate Rhino Mocks directly
into the language.
Andrew Davey released it today, and it completely blew me away.
I did some Boo hacking, and I have a fully appreciation of the scale of the task that Andrew had.
Check out how simple it looks:
[Test] def
Example(): record
mocks: foo
as
IFoo
=
mocks.CreateMock(IFoo)
expect
foo.Dog(int,
x
as
string,
y
as
int): x
[
Is.NotNull()
]
y
[
Is.GreaterThan(0) &
Is.LessThan(10)
]
return
42.0
verify
mocks: foo.Dog(0, "hello", 5) |
The above example creates an expectation for a call on foo.Dog(anything, not-null, between 0 and 10), and then make the call. There is a lot more documentation here.
Very nice and simple to work with.
Congratulations, Andrew, and very good work.
Comments
Comment preview