---
title: "Some real world unit testing techniques for ASP.Net with Cassini"
url: "https://osherove.com/blog/2004/12/2/some-real-world-unit-testing-techniques-for-aspnet-with-cass.md"
canonical: "https://osherove.com/blog/2004/12/2/some-real-world-unit-testing-techniques-for-aspnet-with-cass.html"
published: "2004-12-02T14:58:00"
updated: "2004-12-02T14:58:00"
tags: []
author: "Roy Osherove"
description: "Scott Hanselman writes This fine blog post about how they do real-world unit testing for their ASP.Net applications using the cassini web server. Not being an web developer myself this is a great resource to learn from.…"
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/"
---

# Some real world unit testing techniques for ASP.Net with Cassini

By Roy Osherove December 2, 2004

**Historical article** · Originally published December 2, 2004; technical details may be outdated.

Scott Hanselman writes [This fine blog post](http://www.hanselman.com/blog/default.aspx?date=2004-11-30) about how they do real-world unit testing for their ASP.Net applications using the [cassini](http://asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&tabid=1) web server. Not being an web developer myself this is a great resource to learn from. Scott does a fine job of exposing his methods to make the tests self contained to be run on a build server not even requiring IIS installed to be able to run. very nice.

\[via [Larkware](http://www.larkware.com/dg2/TheDailyGrind512.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/
