Question

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

Was it helpful?

Solution 2

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.

OTHER TIPS

Graham Hay has a .NET port of Hamcrest on GitHub:

https://github.com/grahamrhay/NHamcrest

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top