Saturday, 15 March 2014

unit testing - NSubstitute VerifyAll equivalent -



unit testing - NSubstitute VerifyAll equivalent -

does nsubstitute have equivalent moq's verifyall call? i'd verify calls expect received across substitutes called, ideally in single teardown method. i'm verifying each received phone call individually in tests, isn't ideal. starters, calls set on substitute don't called slip through net if weren't explicitly verified individually.

nsubstitute meant aaa style tests, not record/replay. such, doesn't back upwards them.

unit-testing mocking moq nsubstitute

No comments:

Post a Comment