How do I correctly setup C# unit tests for CRM 2011 plugins?

后端 未结 3 1577
猫巷女王i
猫巷女王i 2021-02-03 12:55

Trying to debug a plugin in CRM 2011 can be extremely difficult. Not only are there issues with having the .pdb files in the correct location on the server, but each time you m

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-03 13:43

    One really good option would be to use a mocking library which deals with mocks and fakes for you because I wanted to create my own and always ended up wasting a lot of time creating fakes or mocks until I created this library which does it for you. Try FakeXrmEasy

提交回复
热议问题