views:

28

answers:

1

Does any matcher libraries exist for .net? I am talking about a library like the hamcrest library for java...

A: 

The closest thing I have yet found is the matchers in Moq: http://code.google.com/p/moq/wiki/QuickStart

http://weblogs.manas.com.ar/bcardiff/2009/02/reimproved-argument-matchers-in-moq/

However this is very tightly coupled to the mocking framework, I would like something more seperate.

khebbie
I have found that the mocking framework is excactly where I need matchers.
khebbie