workaround pex internal class

后端 未结 1 1892
悲哀的现实
悲哀的现实 2021-01-23 07:32

Is there any way to make pex work when the classes under test are internal? how about sealed classes?

I mean after all this type of tool is really good for API testing,

相关标签:
1条回答
  • 2021-01-23 08:09

    Give the test assembly internal visibility through the InternalsVisibleToAttribute. Pex will then be able to 'see' internal types and test them.

    0 讨论(0)
提交回复
热议问题