---
title: "Tools And Frameworks for Unit Testing in .NET for 2013"
url: "https://osherove.com/blog/2013/3/16/tools-and-frameworks-for-unit-testing-in-net-and-java.md"
canonical: "https://osherove.com/blog/2013/3/16/tools-and-frameworks-for-unit-testing-in-net-and-java.html"
published: "2013-03-16T11:06:46"
updated: "2013-03-16T11:06:46"
tags: ["Cool Tools"]
author: "Roy Osherove"
description: "in “ Art of Unit Testing 2nd Edition ” I am now at work on the tools and frameworks appendix. It currently includes the following sections: • Isolation frameworks Moq Rhino Mocks Typemock Isolator NMock ? NUnit.Mocks…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Tools And Frameworks for Unit Testing in .NET for 2013

By Roy Osherove March 16, 2013 In [Cool Tools](https://osherove.com/blog/category/cool-tools)

**Historical article** · Originally published March 16, 2013; technical details may be outdated.

in “[Art of Unit Testing 2nd Edition](http://artofunittesting.com/)” I am now at work on the tools and frameworks appendix. It currently includes the following sections:

**•    Isolation frameworks**

> -   Moq
> -   Rhino Mocks
> -   Typemock Isolator
> -    **NMock ?**
> -   **NUnit.Mocks**
> -   **Microsoft Fakes / Moles**
> -   **NSubstitute**
> -   **FakeItEasy**
> -   **Foq (for F#)**

**•    Test frameworks**

> •    NUnit
> •   **MbUnit  ?
> •    Gallio ?
> **•    xUnit
> •    Pex

- Test Helpers and Assertion APIS

- FluentAssertions
- Shouldly
- SharpTestEx
- AutoFixure

- **Continuous Testing**

- **Mighty Moose**
- **NCrunch**
- **Typemock Isolator Test Runner
    **

**•    Dependency injection and IoC containers**

> •  
>
> -   [AutoFac](http://code.google.com/p/autofac/)
> -   [Caliburn.Micro](http://caliburnmicro.codeplex.com/)
> -   [Catel](http://catel.codeplex.com/)
> -   [Dynamo.Ioc](http://www.dynamoioc.com/)
> -   [Funq](http://funq.codeplex.com/)
> -   [Griffin](https://github.com/jgauffin/griffin.container)
> -   [Hiro](https://github.com/philiplaureano/Hiro)
> -   [LightCore](http://www.lightcore.ch/)
> -   [LightInject](https://github.com/seesharper/LightInject)
> -   [LinFu](https://github.com/philiplaureano/LinFu)
> -   [MEF](http://mef.codeplex.com/)
> -   [Mugen](http://mugeninjection.codeplex.com/)
> -   [Munq](http://munq.codeplex.com/)
> -   [Ninject](http://ninject.org/)
> -   [Petite](https://github.com/andlju/Petite)
> -   [Simple Injector](http://simpleinjector.codeplex.com/)
> -   [Speedioc](https://github.com/wade/Speedioc)
> -   [Spring.NET](http://www.springframework.net/) (does anyone still use this?)
> -   [StructureMap](http://structuremap.net/structuremap/)
> -   [TinyIoc](https://github.com/grumpydev/TinyIoC)
> -   [Unity](http://msdn.microsoft.com/unity)
> -   [Windsor](http://castleproject.org/)
>
> Ioc Benchmark: [http://www.palmmedia.de/Blog/2011/8/30/ioc-container-benchmark-performance-comparison](http://www.palmmedia.de/Blog/2011/8/30/ioc-container-benchmark-performance-comparison "http://www.palmmedia.de/Blog/2011/8/30/ioc-container-benchmark-performance-comparison")

**•    Database testing**

> •   **DataRollback Attribute
> **•    Integration Testing with the DB

**•    Web testing**

> •    Ivonna
> •    Team System Web Test
> •    **NUnitAsp**
> •    Watir
> •    **WatiN**
> •    Selenium

**•    UI testing**

> •    **NUnitForms**
> •    Project White
> •    Team System UI Tests

**•    Thread-related testing**

> •   **Typemock Racer
> •    Microsoft CHESS
> **•    Osherove.ThreadTester

**•    Acceptance testing**

> -   FitNesse
> -   **StoryTeller** ?
> -   **Cucumber**

**BDD Styled Frameworks (used for unit level or acceptance testing)**

- **specflow**
- **specsharp**
- **nspec**
- **mSpec**
- **TickSpec**

**Color Map:**

- **Gray**: Will be removed
- **GREEN**: New
- **BLACK**: Unchanged
- ? : Not Sure

While I do have my own thoughts on which new tools, frameworks or sections can be added or removed from the old book, **I would really like to hear from you** what _**you** think_ should be in these sections(or new sections), when talking about .NET, Java, C++

## More in Cool Tools

[All posts in Cool Tools](https://osherove.com/blog/category/cool-tools)

- Feb 22, 2013

    ### [Six Tools for managing multiple remote desktop sessions on windows and mac](https://osherove.com/blog/2013/2/22/tools-for-managing-multiple-remote-desktop-sessions-on-windo.html)

- Jun 26, 2012

    ### [FakeItEasy or NSubstitute? Which should I use for samples in art of unit testing 2nd edition?](https://osherove.com/blog/2012/6/26/fakeiteasy-or-nsubstitute-which-should-i-use-for-samples-in.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
