mocking
Entities storage for mocks
We would like to mock some services (usually, external) in our application. Mocks implemention should rely on data entities that should be easily editable in XML.[详细]
2023-04-05 04:57 分类:问答Populate default values through reflection in java
I have a complex object hierarchy that has a couple of extends. I am looking for a library that can reflectively insert default values on all fields.[详细]
2023-04-05 04:51 分类:问答mocking/stubbing framework for C# dynamic objects [closed]
Closed.开发者_运维百科 This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-04-05 03:46 分类:问答Moles and Stubs on build server
I\'m trying to get our team to use Moles and Stubs primarily to Mole out static classes.One thing I need to find out is do I have to install moles and stubs using the installation program on my build[详细]
2023-04-04 10:18 分类:问答Mocking an entity?
I\'ve heard somewhere that mocking an entity is a BAD thing, and you should only mock services (even if we\'re not doing full-blown DDD, but \"sorta\" DDD).[详细]
2023-04-04 07:37 分类:问答Unit testing a REST client
I\'m fairly new to unit testing but I\'m trying to incorporate it into my development process for any new code I write (including bug fixes).[详细]
2023-04-04 07:02 分类:问答Mocking an interface that extends another interface using Moq
Hej Buddies! I\'m trying to create a mock for an interface like the one below: public interface ITheInterface: IEnumerable[详细]
2023-04-04 06:09 分类:问答Testing iterative code using mocks - does it make sense, how?
I want to test an algorithm using mocks. The algorithm - in the current implementation - iterates over a container class in multiple passes and set()s and get()s values from it. The test\'s purpose is[详细]
2023-04-04 02:17 分类:问答How do I assert that a method is called only once?
[Subject(typeof(OnceADayProcessor))] public class When_processing_process_twice { private static ICanBeProcessedOnceADay ProcessedOnceADay;[详细]
2023-04-04 01:59 分类:问答Is there a way to mock the built-in require function in Perl?
I am developing an application that has to replace an existing mess of spaghetti-code piece by piece. To achieve this I have a dispatcher that runs required HTTP resources when a URI has been matched[详细]
2023-04-04 01:12 分类:问答
加载中,请稍侯......