Browse by Tags

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

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

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

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

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

Slides and Demos for My Talk: Testing Data Access Code Pragmatically by ISerializable - Roy Osherove&#39;s Blog : Agile

You can download the slides and demos for my talk at Jaoo here: Talk: Testing Data Access Code Pragmatically Slides Code My guitar didn't make it through the flights over here, so someone was kind enough to lend me their personal guitar. Thanks! Someone...

Code-Reuse in unit tests is more important than you think by ISerializable - Roy Osherove&#39;s Blog : Agile

Scott Bellware mentions how he really likes the new ideas in XUnit.NET, especially the lack of [Setup] and [TearDown] methods. (Brad Wilson wrote in the comments to my post about XUnit.NET that you can mimic this behavior by using the constructor of the...

XUnit.NET aims to be the Next NUnit, but it's too soon by ISerializable - Roy Osherove&#39;s Blog : Agile

James Newkirk , one of the original creators of NUnit , which is currently the most popular Unit Testing framework for .NET (he now works for Microsoft at the patterns and practices team if I'm not mistaken) has announced on his blog that together...

The Art Of Unit Testing - Help me choose a book cover by ISerializable - Roy Osherove&#39;s Blog : Agile

Here's a question for those of you who are interested in my upcoming book . You can influence my decision on choosing the book cover design. The book will be available for purchase as part of the Manning Early Access Program ( MEAP ) which means you...
More Posts Next page »