ISerializable
Sign in
|
Join
|
Help
Home
RSS
Atom
Comments RSS
Receive Email Updates
Subscribe
Search
Tags
.NET
.Net 2.0
Agile
Agile Israel News
Agile Related
altnet
altnetconf
Art Of Unit Testing
CLR
Community
Community News
Cool Tools
danny kovatch Scrum Agile SDSE דני קובץ deadline
Free book chapters
General Software Development
Interview
Songs
Testing Guidelines
Typemock
Unit Testing
WinFX
Navigation
Home
Blogs
Forums
Photos
Downloads
Archives
July 2008 (10)
June 2008 (2)
May 2008 (6)
April 2008 (3)
March 2008 (4)
February 2008 (8)
January 2008 (11)
December 2007 (4)
November 2007 (3)
October 2007 (6)
September 2007 (11)
August 2007 (7)
July 2007 (6)
June 2007 (2)
Browse by Tags
All Tags
»
Testing Guidelines
(
RSS
)
Agile
Agile Israel News
Agile Related
altnet
altnetconf
Art Of Unit Testing
Cool Tools
Free book chapters
General Software Development
Unit Testing
WinFX
Unit Testing Denial Pattern #1: Pretending the test is no longer valid
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Art Of Unit Testing
,
Testing Guidelines
Pros and Cons and of using an Auto Mocking container in your tests
by
ISerializable - Roy Osherove's Blog : Agile
In regards to my post about injecting mocks and stubs using a container in your tests, Dave asks in the comments: Why would you want to do this in the first place? Here are the things I can think about right now (pros and cons). I'd love to hear your...
Filed under:
Agile
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
Creating a AutoMockingContainer with Microsoft Unity - Pretty darn simple.
by
ISerializable - Roy Osherove's Blog : Agile
Just created a little Auto Mocking Container built on Microsoft Unity. It was very very simple. here's a test that uses it. We tell the container to RegisterMockSingleton becuase we will want whoever calls resolve<T> on that interface to get...
Filed under:
Agile
,
Unit Testing
,
Testing Guidelines
Testing ASP.NET MVC Controllers with Typemock Isolator
by
ISerializable - Roy Osherove's Blog : Agile
Scott Hanselman posted his notes and slides (and movies!) from his talk on the ASP.NET MVC framework, where he also mentioned and shows how he's write unit tests for the MVC framework in ASP.NET. Scott has examples both in Moq and Rhino.Mocks on how...
Filed under:
Agile
,
Unit Testing
,
Testing Guidelines
Basic Guidelines for using RowTest and data driven tests
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
,
altnet
Data Layer Testing: Test Inheritance Patterns
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
,
altnetconf
Mocking LINQ Queries, Extension methods and Anonymous Types
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
,
altnetconf
,
altnet
,
Cool Tools
,
WinFX
The various meanings of TDD
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
The Art Of Unit Testing - Available to Purchase Online Now
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Israel News
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
,
General Software Development
,
Free book chapters
Code-Reuse in unit tests is more important than you think
by
ISerializable - Roy Osherove'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...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
TDD Pattern: Composite Logic Development and Testing
by
ISerializable - Roy Osherove's Blog : Agile
Here's a video I made that captures my current thoughts on writing complex business rules which have lots of validation logic. Here's the scenario I show in the video: A Validate method on an object actually uses lots of smaller methods to return...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
Mocks and Stubs - The difference is in the flow of information
by
ISerializable - Roy Osherove's Blog : Agile
In class today when explaining the difference between stubs and mocks, I realized a simple explanation to this: Stubs and mocks may seem the same but the flow of information from each is very different. Stubs provide input for the application under test...
Filed under:
Agile
,
Agile Related
,
Unit Testing
,
Art Of Unit Testing
,
Testing Guidelines
More Posts