Browse by Tags

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

Art of unit Testing goes to print in April by ISerializable - Roy Osherove's Blog : Agile

The book of never ending production is now actually near the end. the projected print date of “Art Of Unit Testing” is now April 30 and I’m happy to see the Amazon page for the book already has one review of the early access version (though he totally...

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

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

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

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

Unit Testing Denial Pattern #1: Pretending the test is no longer valid by ISerializable - Roy Osherove&#39;s Blog : Agile

Today was both a good day for e and a bad day for me. Good day because I managed to get a full suite of tests that were somehow failing to work again after a refactoring that got out of hand. Bad - because out of all the tests, one of them failed. Here's...

Future of Mock Frameworks: AEIS - Abstract Expectations & Isolation Syntax by ISerializable - Roy Osherove&#39;s Blog : Agile

As I was looking back and forward on the changing syntax of testing and mock frameworks, it occurs to me that there are still things that need to be solved in the mocking space. many things. It's hard to choose a framework and stick with it because...

Typemock Isolator 4.2 Beta released with cool new features (Previously Typemock.NET) by ISerializable - Roy Osherove&#39;s Blog : Agile

We just released the beta of Typemock Isolator 4.2 beta (Previously just named Typemock.NET). You can get it here . Some of the cool new things: Mocked methods will be highlighted in the debugger if you step into them. in the picture below the "DoSomething...

The evolution of Unit Testing Syntax and Semantics by ISerializable - Roy Osherove&#39;s Blog : Agile

The semantics of how you write a unit test, the basic syntax, or Domain Specific language of how we write them, has been relatively stale for quite some years now.  But under the covers, the syntax revolution seems to be brewing, as people try to...

Basic Guidelines for using RowTest and data driven tests by ISerializable - Roy Osherove&#39;s Blog : Agile

I took a look at the code that was used to create the NUnit RowTest Extension (which is pretty neat) and found this in one of the samples: The highlighted areas in the code show something which I feel is problematic and is the manifestation of a unit...

Data Layer Testing: Test Inheritance Patterns by ISerializable - Roy Osherove&#39;s Blog : Agile

I'm preparing for my tutorial on Database and Data Layer unit testing that I will be giving at the Agile Practices Conference  next week. It's always nice to have a full 3 hours to get pretty deep into something. 75 minutes just isn't...

Mocking LINQ Queries, Extension methods and Anonymous Types by ISerializable - Roy Osherove&#39;s Blog : Agile

One of the things I wanted to show at my Interactive session on unit testing tips and tricks at TechEd this year was how you can "Stub" out results from LINQ Queries, or mock\stub Extension methods in .NET 3.5 ( what's the difference between...

The various meanings of TDD by ISerializable - Roy Osherove&#39;s Blog : Agile

Now that I'm having some real time to write something I thought I'd try to write down my thoughts starting all the way back from JAOO and what I learned from it. Specifically the whole notion of TDD, and what does TDD mean to different people...

The Art Of Unit Testing - Available to Purchase Online Now by ISerializable - Roy Osherove&#39;s Blog : Agile

I'm happy to announce that you can now purchase my book The Art Of Unit Testing through the Manning Early Access Program. Currently, the first five chapters are available, but when you purchase the MEAP version you get the new chapters as they come...
More Posts Next page »