-
James, I would love to see you take the idea of “SharpMock” to the next level . If not anything else, it would be an interesting challenge to write about. James took PostSharp and started looking at the possibility of intercepting static method calls...
-
Two features that Typemock Isolator has make the debugging experience with it very different than any other isolation framework: 1) Highlight fake method during debugging When stepping into a method that is being faked by the test, the method will...
-
I’m happy to report that my book has finally hit the “last review” stone, which means all chapters are done and the book should be in book stores around jan-feb 2009 . If you’d like to read the E-Book version right now(PDF) you can purchase that for a...
-
אחד התפקידים המרכזיים בעולם ה Agile , ואולי החשוב ביותר מכולם, הוא מנהל המוצר ( PRODUCT OWNER – PO ), שהינו האדם הוא הישות (הצוות) שאחראי למוצר ועיקר המשקל והאמון של התהליך נשענים עליו. איגוד ה Scrum Alliance הכיר בחשיבות תפקיד ה PO , והגדיר הסמכה וקורס...
-
This now works :-) The challenge is still open, I intentionally stopped before completing the feature, and there is a failing test in the RecusriveMocks fixture that you can start from. And just to give you an idea about what I am talking about, please...
-
I have just committed a change to the way Rhino Mocks handles expectations for dynamic mocks and stubs. Previously, the meaning of this statement was "expect Foo() to be called once and return 1 when it does": Expect.Call( bar.Foo ).Return(1...
-
This post is derived from the Rhino Mocks 3.5 documentation . Setting expectations for property set was always very simple, and slightly confusing with Rhino Mocks. Here is how you do it: view.Username = " the user name "; The problem is that...
-
Okay, let us see if this approach works... Here is a description of a feature that I would like to have in Rhino Mocks (modeled after a new feature in Type Mock). I don't consider this a complicated feature, and I would like to get more involvement...
-
Today I decided that I had enough time to get bugs for the 3.5 RC, so I fixed all the remaining bugs, updated the Rhino Mocks 3.5 Documentation , and put the binaries out the site . For this release, I actually have 4 binary packages. One for .NET 3.5...
-
Here’s another feature Typemock Isolator has that no one else currently has: the ability to return fake objects from properties recursively (without the use of an auto mocking container for such a feat). this saved a lot of reperitive test code of creating...
-
In my search to understand a little more about BDD and BDD frameworks, one gem that I gleaned is that there is an important distinction between “Spec” and “Behavior” frameworks. “Spec” is intended for the unit level granularity (like unit tests) and Read...
-
Working on an appendix for my book , with a list of tools and frameworks you should care about. Tell me if I missed anything: · Mock Frameworks o Moq o Rhino Mocks o Typemock Isolator o NMock o NUnit.Mocks · Test Frameworks o MS Test o NUnit o MbUnit...
-
Here is one feature that sets Typemock Isolator apart from all the other frameworks, that has nothing to do with legacy code: Live Objects. This feature allows you to just “new” up an instance of an object, if you can, and then fake method results on...
-
The discussion on the future of unit testing for the masses has shifted from the standard “if they are too stupid to learn it, we don’t want them” to “TDD without good design will make really bad tests”. and this is a good thing. it’s a good thing because...
-
I found this test fixture hilarious. [TestFixture] public class ValidateNamingConventions { private System.Type[] types; [SetUp] public void Setup() { types = typeof (ISearchFactory).Assembly.GetExportedTypes(); } [Test] public void InterfacesStartsWithI...