Browse by Tags

All Tags » TDD (RSS)
Sorry, but there are no more tags available to filter with.

Designing for testability overcomes the need for testing by Oren Ellenbogen's Blog - TDD

In my previous post, "How to mock static class or static member for testing" , Eli replied that mocking static data can be easily achieved via TypeMock with no extra work around it. Although Eli raised a valid point while TypeMock is a very...
Filed under:

TDD in the eyes of a simpleminded: Hold. Rethink. Move on. by Oren Ellenbogen's Blog - TDD

After talking about testing inner behavior inside a method , it is time to make some observations about the code and answer a lot of *why* questions . I must give credit to Shani , one of a great bunch of people I worked with during my service and a very...
Filed under:

TDD in the eyes of a simpleminded: Code Available by Oren Ellenbogen's Blog - TDD

I've attached the code I demonstrated so far to the original posts so you could play with the code a little and understand how it all connects (if code samples in my posts were not clear enough). Requirements: Nunit 2.2.8 TestDriven.Net (this is actually...
Filed under:

TDD in the eyes of a simpleminded: Part 2 - Testing inner behavior by Oren Ellenbogen's Blog - TDD

code: OrenTDDWorkShop_Part2.zip (44.06 KB) > If you haven't read about the NameResolver at my previous post(TDD: Part1) , now is the time as I'm going to take this class and use it later on in this post. We are ready to take the next step and...
Filed under:

TDD in the eyes of a simpleminded: Part 1 - The NameResolver by Oren Ellenbogen's Blog - TDD

If you didn't read the preface yet, I strongly recommend you to invest good 5 minutes for it now; I'll wait... Code: OrenTDDWorkShop.zip (37.09 KB) the NameResolver : This class should have a method named GetFamilyName that gets a string as parameter...
Filed under:

TDD in the eyes of a simpleminded: Preface by Oren Ellenbogen's Blog - TDD

I sat down for about 15 minutes before I could even write this sentence. You see, as human beings, we (usually) tend to think too much before we speak. As programmers, we (usually) tend to think too much before we write our first line of code. "But...
Filed under:
More Posts