Reputation: 387
I find it a bit hard and troublesome to choose which of all the available methods in the NUnit constraint model to use.
When I try to use it, I often manage to get it to compile, but it crashes during execution, making me not trust the tests I write.
Using the classic approach, I had better confidence that the tests I wrote would work (yes, I don't want to return to the classic approach).
Is there any good overview and some guidance on how to choose among all of the available constraints? or guidance on how to think when choosing among all these methods? (theres Is., Has., Does....)
the official documentation is mostly a reference, so it's not that helpful. I almost wish there was a mindmap chart of all these constraints and which can be used where.
Upvotes: 0
Views: 48