---
title: "Nice article on Extending the NUnit Assert methods"
url: "https://osherove.com/blog/2005/1/8/nice-article-on-extending-the-nunit-assert-methods.md"
canonical: "https://osherove.com/blog/2005/1/8/nice-article-on-extending-the-nunit-assert-methods.html"
published: "2005-01-08T10:54:00"
updated: "2005-01-08T10:54:00"
tags: []
author: "Roy Osherove"
description: "Charlie Poole (The new father of NUnit ) wrote this nice draft article about a subject I never touched: Extending the Assert class in NUnit. \"Development of a set of customized assertion methods is a key to productive…"
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/"
---

# Nice article on Extending the NUnit Assert methods

By Roy Osherove January 8, 2005

**Historical article** · Originally published January 8, 2005; technical details may be outdated.

[Charlie Poole](http://charliepoole.org/) (The new father of [NUnit](http://www.nunit.org/)) wrote [this nice draft article](http://charliepoole.org/article.php?p=beyond_assert) about a subject I never touched: Extending the Assert class in NUnit.

_"Development of a set of customized assertion methods is a key to productive test-writing for NUnit. In many cases, a private method in one of your test fixtures will be all that is needed. In others, you may wish to deploy one or more assertions so that they can be reused by the entire development team._

_NUnit's new Assert extensibility model allows tailoring specific assertions for your application in a way that is consistent with the basic NUnit assertions. These extensions can provide messages that are consistent in appearance with those provided by NUnit and use features of the NUnit framework to avoid duplication."_


---

## 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/
