Browse by Tags

All Tags » Art Of Unit Testing » Agile (RSS)

Isolator Feature Focus: Duck Typing and Isolate.Swap by ISerializable - Roy Osherove's Blog : Agile

Typemock Isolator 5.1.1 has been released, and this release brings with it some awesome (seriously) features that are unique fro any other framework I've seen. a good overview of features can be found here . The Isolator Swap feature allows swapping...

Art Of Unit Testing – Book done, Wiki ready by ISerializable - Roy Osherove's Blog : Agile

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...

Unit Testing decoupled from TDD as well== Adoption by ISerializable - Roy Osherove's Blog : Agile

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...

Unit Testing decoupled from Design == Adoption by ISerializable - Roy Osherove's Blog : Agile

In my previous post I started talking in more coherent words about feelings I’ve had lurking in the past year. This post is an expansion of that, after having some great twitter conversations in the past few days with some great people. Treat this as...

Goodbye mocks, Farewell stubs by ISerializable - Roy Osherove's Blog : Agile

About 4 years ago I was consulting for one of the largest companies in Israel (about 15,000+ employees) and helping them grok TDD and automated unit testing. I had spent there over a year and a half, on and off, and was teaching both .net, C++ and java...

Over Specification in Tests by ISerializable - Roy Osherove's Blog : Agile

I've gotten the chance to visit and consult various companies and I see this all the time: Over specification in tests, especially when doing mocks and stubs . One main reason for that is that people use their stub as a mock object (stubs are fake...

A sneak Preview of Typemock Racer : Thread Deadlock Finder by ISerializable - Roy Osherove's Blog : Agile

Here's a sneak preview of the upcoming Typemock Racer product, which I'm currently working on. We should be out in private CTP in a couple of weeks I hope. Typemock Racer tries to solve one huge problem for developers working in multi threaded...

Introducing Depender - Testability Problem Finder by ISerializable - Roy Osherove's Blog : Agile

Depender is a tool that I created to illustrate several concepts both for my book and both for my training classes. I think it should prove valuable (as it gets more and more features) to anyone who is trying to write tests for existing code.   Depender...

Over-testable systems, and mocks as bad test smells by ISerializable - Roy Osherove's Blog : Agile

This is an interesting problem I've been running into at work. Sometimes we would try to write a test against the system or a component and we would literally have too many choices of how to write it or where to "intercept" or "inject"...

Unit Testing Interview at TechEd by ISerializable - Roy Osherove's Blog : Agile

My interview at teched us on advanced unit testing and legacy code can be seen here: http://msdn.microsoft.com/en-us/events/teched/cc676818.aspx   or downloaded here We occasionally stop and laugh a bit because "speaker idol" contest was...

Fit/Fitnesse Fixture Gallery -Real world help for FIT and Fitnesse users by ISerializable - Roy Osherove's Blog : Agile

This great news was just published at the alt.net mailing list. putting it here for future reference. "Fixture Gallery 2.0 (release 2008-06-09) is now available for download from SourceForge. Fixture Gallery is a cookbook for FIT/FitNesse tests....
Filed under: , ,

Unit testing vs. Integration Testing : The Restaurant Analogy by ISerializable - Roy Osherove's Blog : Agile

Here's an analogy I came up with to explain the difference between unit tests and integration tests. Imagine going to a restaurant with a bunch of your friends. there are some couples there as well as singles. At the end of the meal, it is time to...

Tough Questions about unit testing - Your comments required by ISerializable - Roy Osherove's Blog : Agile

As part of My Book I have a chapter on the challenges of integrating unit testing practices into an organization. One of the sections deals with "Tough questions and answers". In short, what are the tough questions you will have to deal with...

"Swapping" instead of "Injecting" calls between classes by ISerializable - Roy Osherove's Blog : Agile

Eli Lopian, Typemock CEO and awesome Coder, just created a nice little API wrapper around Typemock Isolator that would allow a very simple and readable "Swapping" effect between classes. It would allow you to write code like this:    ...

NullObject.For<T> - As simple as it gets, but no simpler by ISerializable - Roy Osherove&#39;s Blog : Agile

This NullObject Factory from Paul is very nice, simple and clean in its design. I really like it and I can see many uses for it, in parallel with working with your standard mocking framework or IoC Container Implementation .   here is a little usage...
More Posts Next page »