Browse by Tags

All Tags » Agile » Unit Testing (RSS)

Isolation Syntax for VB.NET - Your comments please by ISerializable - Roy Osherove's Blog : Agile

I'm working on adding a VB.NET Friendly syntax for Typemock Isolator. If you're into VB, I'd love your input on the usability of this API and how to make it better. We'll start going through several basic scenarios that you can do using...

Isolator Feature Focus: Faking Collections by ISerializable - Roy Osherove's Blog : Agile

Another cool feature in Isolator is the ability to fake values that will be returned from custom collections (anything that inherits from IEnumerable as long as it is not in mscorlib - for example - sharepoint lists). With the new version you can now...

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

SharpMock 0.1 ? by ISerializable - Roy Osherove's Blog : Agile

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

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

Isolator feature focus: Recursive Fakes by ISerializable - Roy Osherove's Blog : Agile

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...
Filed under: , , ,

Isolator feature focus: Live objects in unit tests by ISerializable - Roy Osherove's Blog : Agile

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...
Filed under: , , ,

Typemock Isolator with AAA syntax by ISerializable - Roy Osherove's Blog : Agile

We've just posted a preview of the next Isolator API coming out in august. It is AAA-style (Arrange, act, assert) and has many changes. We need your input so head on over, read it and tell us your thoughts . This is the time where you can make a huge...

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

Is Moq too poweful? by ISerializable - Roy Osherove's Blog : Agile

It's interesting to see the other mocking frameworks as they grow into maturity. Especially Moq which has been getting loads of new features recently. The latest one is something which makes me feel a bit weird after reading all the things people...

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

Typemock Isolator 4.3 and future syntax by ISerializable - Roy Osherove's Blog : Agile

We just released Typemock Isolator 4.3 ( here is the blog post with details ). It's an awesome product but I envy the speed and ease with which oren can change his syntax (it's nice to work alone!) . I can tell you that the next version of Isolator...
Filed under: ,

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 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...
More Posts Next page »