Browse by Tags

All Tags » Unit Testing (RSS)

Inhibiting design tooling and sex education by ISerializable - Roy Osherove's Blog : Agile

during a reply to a thread about design for testability , Pat Maddox wrote something interesting about how the inherent testability in Ruby still does not make up for the lack of design skills: “ Too often I'm finding in the Ruby community we've...
Filed under: ,

Unit Testing Biztalk : Two possible frameworks by ISerializable - Roy Osherove's Blog : Agile

BizTalk is notoriously hard to test. But I just came a cross a couple of interesting solutions to do unit testing for biztalk related logic and orchestration. BizMock : “BizMock is a framework for testing BizTalk solutions, using a Domain Driven Design...
Filed under: , ,

TDD: 4 questions that will help you create the simplest thing that could possibly work by ISerializable - Roy Osherove's Blog : Agile

Today in class I got to understand, for the first time, what I define as “the simplest thing that could possibly work” when doing TDD. Many people struggle with the idea of simplicity. the idea of doing things to the point of “micro-increments” to the...
Filed under: , ,

Brown, Green, Refactor by ISerializable - Roy Osherove's Blog : Agile

Having seen enough crappy unit tests to last me a lifetime, I think there should be a parallel to the old “ red-green-refactor ” (from TDD) – it’s evil twin brother should be “ Brown-Green-Refactor ” wherin you’d do a crappy test first, then make it pass...
Filed under: , ,

Comments on Corey Haines’ String Calculator TDD Kata Implementation by ISerializable - Roy Osherove's Blog : Agile

Corey Haines recreated my TDD Kata on his KataCasts blog.  ( click here to learn more about TDD katas ) Since Corey is an experienced TDD practitioner I was honored that he’d given it a go, and was eager to see the video. Later, corey asks for my...

TDD Master class in Vienna, January 18 by ISerializable - Roy Osherove's Blog : Agile

Hi All. If you live in or near Vienna, i hope you'll find interest in the course that I am giving there: A five day TDD master class in Vienna, on January 18th here's what students of this course had to say after finishing it: http://osherove...
Filed under: ,

Test driven design – Willed vs. Forced Designs by ISerializable - Roy Osherove's Blog : Agile

I’m writing this as a typemock employee, but also as someone who has sat on the other side of the line for several good years, and can argue in both ways. The following, I feel, is true no matter where I work.   There are two ways people use tests...

TypeMOQ API by ISerializable - Roy Osherove's Blog : Agile

I was fiddling around with the typemock API, see what it would belike to use it in a more MOQ like manner: to support this, all the code you need, including the Faker class exists here . you’d need to reference the typemock dll and the typemock c# API...
Filed under: , ,

Introducing Typemock IntelliTest by ISerializable - Roy Osherove's Blog : Agile

We just released the latest version (5.4.2) of Typemock Isolator, with one cool Addon built in - Typemock Intellitest . what’s it about? in one word: productivity. Here's what it does: ( here's the full info ) Read More...
Filed under: , ,

Poll: Which mocking\isolation framework do you use? by ISerializable - Roy Osherove's Blog : Agile

Time for the bi-annual frameworks poll! Which isolation framework do you mostly use these days? ( online surveys ) Read More...
Filed under: ,

Unit Test Definition 2.0 by ISerializable - Roy Osherove's Blog : Agile

Here’s my latest definition of what a unit test is: A unit test is a fast, in-memory, consistent, automated and repeatable test of a functional unit-of-work in the system. A unit of work is any functional scenario in the system that contains logic. it...
Filed under: ,

Nightly build wins again by ISerializable - Roy Osherove's Blog : Agile

Here’s an email message the dev lead at our company sent out tonight: “Hi, I analyzed the nightly build failure - it broke because of an examples test that tests recursive fakes, and incidentally uses WhenCalled() on a property getter on the 2nd level...
Filed under: ,

Minimizing unit Test Fragility – 8 features in Typemock Isolator to help by ISerializable - Roy Osherove's Blog : Agile

in continuation to my challenge (which no one had bothered answering, lazy web!) One of the things that inhibits unit tests in organizations is the idea of fragile tests. a Fragile test is a test that can easily break when the production code changes...

Preventing fragile tests – how can isolation frameworks help or hinder your goal? by ISerializable - Roy Osherove's Blog : Agile

One of the things that inhibits unit tests in organizations is the idea of fragile tests. a Fragile test is a test that can easily break when the production code changes. That’s not to say that tests should never break as you change production code, but...
Filed under: , ,

Art of Unit Testing on Hanselminutes by ISerializable - Roy Osherove's Blog : Agile

Scott Hanselman took me in for a 30 minute interview about Unit Testing Dos and Don’ts in his podcast, Hanselminutes. It was a pleasure, and I hope to be there once more about other topics. Maybe in TechEd Berlin.. Have a listen Read More...
More Posts Next page »