How can I prevent a VerificationException when running a test with attached debugger?

后端 未结 3 640
刺人心
刺人心 2021-01-12 20:32

Whenever I run either of the following unit test with a debugger attached, I get a VerificationException inside FluentValidation code at this point (will post w

3条回答
  •  無奈伤痛
    2021-01-12 21:12

    I experienced the same issue and found TypeMock 6.0 to be the culprit. By disabling TypeMock Isolator (menu TypeMock -> Disable TypeMock Isolator) I got rid of the problem. This of course breaks any TypeMock dependent test.

    Note that adding FluentValidation to IntelliTrace exceptions does not resolve the issue when TypeMock is the problem.

提交回复
热议问题