Tag Archive: Design

Jun
27

The Unit of Testing is the Unit of Maintainability

This article originally appeared on Phil Calcado’s blog and is reprinted with permission. Follow Phil on Twitter @pcalcado. What do you think? Leave your comments. Every time I talk to a client which has been through some sort of agile transformation, whatever that means, I often end up having an interesting conversation with the local …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/06/27/the-unit-of-testing-is-the-unit-of-maintainability-2/

Jun
16

And suddenly, there was IDD. By Gil Zilberfeld

I met Richard Fennell face-to-face at The Typemock Partner Academy. In the morning, we had a nice discussion about what motivates developers, and later at the Academy he gave his presentation about how Typemock Isolator helps his business grow. As he talked about using Isolator as a design tool, I finally understood his earlier post …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2010/06/16/and-suddenly-there-was-idd-by-gil-zilberfeld/

May
13

Don’t mock my Integration test – a reply

It seems that the post I wrote yesterday – Unit Tests vs. Integration tests was well heard, Ayende wrote his take on my post his blog. I’d like to begin by saying that no one claimed that a project should have only unit/integration tests. all I’ve said in the previous  post is that unit testing …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2009/05/13/dont-mock-my-integration-test-a-reply/

May
12

Unit Tests vs. Integration tests

Ayende has written a short and to the point post about Unit tests vs. Integration tests. An even shorter summery of the post is: Unit tests runs faster but integration tests are easier to write. I believe there is even a greater difference between the two: most of the time integration tests require to set …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2009/05/12/unit-tests-vs-integration-tests/

Dec
05

Typemock Isolator AAA Futures

Since launching the AAA API for Typemock Isolator last summer, we have put much care and consideration into making sure we are doing things right this time around. There are many considerations we take into account before performing any addition to this API, including Fluency and natural language readability – in my opinion readable tests = …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2008/12/05/typemock-isolator-aaa-futures/

Aug
29

Why TDD Rocks

Yesterday I had (yet another) realization about the power of TDD. In the latest iteration I’ve been working on adding features onto out new AAA API (see Gil’s recent posts for more info). Feeling in control, I was real confident I was about to finish ahead of time and pick up some tickets from our …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2008/08/29/why-tdd-rocks/

Jul
24

Solving mocking dilemma with Typemock Isolator

Davy Brison writes about mocking dilemma Basically the question he deals with is how to test this code: 8 public abstract class MyAbstractClass 9 { 10 public void DoSomethingInteresting() 11 { 12 // some stuff would go here… 13 DoSomethingSpecific(); 14 // more stuff would go here… 15 } 16 17 protected abstract void DoSomethingSpecific(); …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2008/07/24/solving-mocking-dilemma-with-typemock-isolator/

Jul
23

Is the visibility of tested methods important?

We are having quite a discussion lately within Typemock about the importance of the visibility of tested methods. For example, should it really be harder to test a private method? If it is harder, then many developers will opt to change the scope of the tested method to public, even if business wise, it should …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2008/07/23/is-the-visibility-of-tested-methods-important/

Apr
23

Can Num3rs Lie?

In a series of posts Oren (Ayende) and Sasha have debated the need to design for performance. Both parties make some very compelling arguments and its real interesting reading material. Since I still need to sort my thoughts on the matter (which will be presented in a future post) here’s just a teaser. Oren has …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2008/04/23/can-num3rs-lie/