fakeiteasy
FakeItEasy VB.NET issues with parameters
Ok, I am trying to teach myself testing using a mock framework and I work in VB.NET, I am new to lambda expressions and all my previous applications were written in version 2005 or earlier. I now have[详细]
2023-02-26 02:50 分类:问答FakeItEasy mock interface not found
I\'m new to FakeItEasy and mocking in general.I created a Visual Studio 2010 C# class library project.I added references to the NUnit DLL and the FakeItEasy DLL.I added \"using\" statements for both,[详细]
2023-02-25 14:45 分类:问答How to write the MSpec test for code containing calls to HttpContext using fakeiteasy?
I am getting the proverbial knickers in a twist. For this very simple code: public ActionResult Add() {[详细]
2023-02-24 22:20 分类:问答Out and Ref parameters with FakeItEasy
I have a method that has an out parameter th开发者_StackOverflow社区at returns a number of records. I would like to know how to mock it with FakeItEasy.You should use the .AssignsOutAndRefParameters c[详细]
2023-02-21 02:12 分类:问答How to mock protected virtual members in FakeItEasy?
Moq allows mocking protected virtual members (see here). Is it possible to开发者_JAVA百科 do the same in FakeItEasy?It can be done, however it can not be done out of the box. The trick is to implement[详细]
2023-02-18 03:41 分类:问答Faking an enumerator in FakeItEasy
How can I create a fake with FakeItEasy that allows different return values on successive calls. This is one example of what I would like to be able to do:[详细]
2023-02-14 15:01 分类:问答Are fakes better than Mocks? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-01-21 05:09 分类:问答how to use localtime function with VIsual Studio C++ 2008
I am getting this error : \"Unhandled exception at 0x00411690 in tim.exe: 0xC0000005: Access violation reading location 0x00000008\" when I execute a program this is compiled and linked successfully a[详细]
2022-12-23 14:22 分类:问答
加载中,请稍侯......