pex-and-moles
Moling DataContext with MS Moles?
How can I mole the DataContext that I\'m using in a class to write messages to a table. I\'d like to assert that the table LINQ is writing to has the expected count of messages. Here\'s what i have so[详细]
2023-01-16 04:10 分类:问答How to use Moles to stub entity framework stored procedure call?
I\'m tryin开发者_高级运维g to stub a call to db. The basic idea is for a line of code like this:[详细]
2023-01-11 20:16 分类:问答How to add [assembly: PexLinqPackage] to a test project
I am trying to get Pex to work with linq in my project.I got this explanation on what I need to do: In order for Pex to support Linq, make sure you add a reference to[详细]
2022-12-24 04:50 分类:问答Anyone using Moles / Pex in production?
I did search the forum and did not find a similar q开发者_StackOverflowuestion. I\'m looking to make a final decision on our mocking framework of choice moving forward as a best practice - I\'ve decid[详细]
2022-12-23 06:05 分类:问答C# - What does "\0" equate to?
I am playing with Pex and one of the parameters it passes into my method is \"\\0\". What does that mean?My guess is an empty string (\"\") based on the content of my method.However, if it is the sam[详细]
2022-12-20 10:33 分类:问答