I\'m using more unit tests in my projects and reading all the information I can online and am getting confused by a开发者_Go百科 lot of the terminology. As a result I\'m probably using these terms inc
I have a TimeMachine class which provides me current date/time values. The class looks like this: public class TimeMachine
I have an interesting situation where I am refactoring a bunch of ObjC iPhone code to create a C++ API. I\'m a novice to C++ and looking into C++ mocking frameworks to augment the work I\'d done using
I just started using mock objects (using Java\'s mockito) in my tests recently.Needless to say, they simplified the set-up part of the tests, and along with Dependency Injection, I would argue it made
Has anyone ever experienced a unit test that fails and when they tried to debug it to find out where the failure was occurring, the unit test succeeds when running the code in the debugger?
Not sure if it has been asked before, here is the question. Code first: public class Customer { public string Password { get; set; }
I am using Moq - but could easily swap to another mock framework if needed. I have a interface defined:
My application connects to db and gets tree of categories from here. In debug regime I can see this big tree object and I just thought of ability to save this object somewhere on disk to use in test s
I\'m new to mocking, I have a 开发者_StackOverflowmethod which takes a lambda as a parameter, how can I mock it using Rhino Mocks? Thanks.These may help you:
I\'m using JsTestDriver and a bit of Jack (only when needed).Does anyone know how to verify that a javascript function has been called during unit testing?