2

I am working on a project utilizing MSTest and I need similar constraints for testing arrays/lists that NUnit provides (http://www.nunit.org/index.php?p=collectionConstraints&r=2.4.8)

Is there anything similar built-in or as an add-on to the MSTest framework?

Jon Erickson
  • 112,242
  • 44
  • 136
  • 174

1 Answers1

2

Does this help.

Collection Contrainsts in C# here at Stack Overflow.

And this, the specific class that the question is relating to.

CollectionAssert Class

The asserts are very similar to that provided in the NUnit test.

regards

Bob.

Community
  • 1
  • 1
scope_creep
  • 4,213
  • 11
  • 35
  • 64