---
title: "SilverUnit Project Template and new version"
url: "https://osherove.com/blog/2009/5/23/silverunit-project-template-and-new-version.md"
canonical: "https://osherove.com/blog/2009/5/23/silverunit-project-template-and-new-version.html"
published: "2009-05-23T12:45:41"
updated: "2009-05-23T12:45:41"
tags: ["Agile", "Silverlight", "Unit Testing"]
author: "Roy Osherove"
description: "SilverUnit 0.5 has been released with some speed optimizations, as well as binary reference to the latest Typemock version 5.3.0. If you don’t know what it is, SilverUnit aims to allow true unit testing of silverlight…"
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/"
---

# SilverUnit Project Template and new version

By Roy Osherove May 23, 2009 In [Agile](https://osherove.com/blog/category/agile), [Silverlight](https://osherove.com/blog/category/silverlight), [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published May 23, 2009; technical details may be outdated.

SilverUnit 0.5 has been released with some speed optimizations, as well as binary reference to the latest Typemock version 5.3.0.

If you don’t know what it is, SilverUnit aims to allow **true** unit testing of silverlight objects, without needing to run them in the silverlight runtime or in the browser. It’s for testing only logic, and it’s much simpler to use that [Microsoft’s silverlight test framework](http://www.codeplex.com/Silverlight/) (which is essentially an integration test framework).

**Project Template**

If you’ve been working with SilverUnit, you know it’s a pain to setup a “regular” test project that will reference a silverlight project under test. So I followed [Jamie’s footsteps](http://weblogs.asp.net/nunitaddin/archive/2008/05/01/silverlight-nunit-projects.aspx) and created a Project template installer for SilverUnit. (Unlike jamie’s installer, this one create a regular class library project with regular references to silverlight assemblies)

After installation, you get this nice template in the new project dialog:

![image](https://osherove.com/img/wb/3fd852e2_weblogs.asp.net_blogs_rosherove_image_thumb_13850B89.png)

this template should contain all the relevant references to start testing your project with SilverUnit (you might need to remove and re-add the reference to the typemock.dll)

you can get it [in the latest release of CThru and SilverUnit on Codeplex](http://cthru.codeplex.com/) (0.5 at the moment):

![image](https://osherove.com/img/wb/a6e3aec8_weblogs.asp.net_blogs_rosherove_image_thumb_1BD8BB13.png)

## More in Agile

[All posts in Agile](https://osherove.com/blog/category/agile)

- Jun 2, 2009

    ### [Using Explicit Arrange,Act,Assert scopes in tests – thoughts?](https://osherove.com/blog/2009/6/2/using-explicit-arrangeactassert-scopes-in-tests-thoughts.html)

- Jun 2, 2009

    ### [Upcoming SilverUnit Preview](https://osherove.com/blog/2009/6/2/upcoming-silverunit-preview.html)

- May 23, 2009

    ### [Testing that an event was raised](https://osherove.com/blog/2009/5/23/testing-that-an-event-was-raised.html)

- May 22, 2009

    ### [DateTime.LastYear](https://osherove.com/blog/2009/5/22/datetimelastyear.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/
