I\'m trying this for almost two hours now, without any luck. I have a module that looks like this: try:
I\'m having a lot of trouble trying to define a mock for a rails models on cucumber. It seems like the method is creating a bunch of message expectations and i keep getting errors like these:
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
I’m relatively new to testing and MVC and came across a sticking point today.I’m attempting to test an action method that has开发者_Python百科 a dependency on HttpContext.Current.Cache and wanted to
Are there any circumstances where it is favourable to manually create a stub type, as opposed to using a mocking framework (such as Rhino Mocks) at the point of test.
I am looking for python stubbing library. Something that coul开发者_StackOverflowd be used to create fake classes/methods in my unit tests.. Is there a simple way to achieve it in python..
Is it correct that Rhino Mocks stubs and mocks are only good for interfaces, not concrete classes? I spent quite a time trying to make this piece of code working. I did not expect the stubbed pubSubCl
I\'ve just started some MonoTouch development and I\'ve tried, and failed, to get Moq working for my unit tests. The binary version fails because it\'s looking for System v2.0, which I assume is down
I trying to test an AccountController that uses DotNetOpenAuth but I am running into a problem. I want to test the Logon Actionresult to see that it is returning the correct views. The test fails beca
I\'m trying to implement unit tests for function that uses imported external objects. For example helpers.py is: