Skip to content

Instantly share code, notes, and snippets.

@khebbie
Last active December 10, 2015 12:18
Show Gist options
  • Save khebbie/4432797 to your computer and use it in GitHub Desktop.
Save khebbie/4432797 to your computer and use it in GitHub Desktop.

This blog post was originally created at 2009-10-18

I created a tool that I use at work for watching my solution, and running the unit tests. It is very much inspired by a tool that I saw for ruby on rails, and can't remember the name of.

The tool is created in boo, and this is my first encounter with boo so probably the code is very C#ish.

It definetly isn't "Clean code".

With all of this set aside, let me introduce "khebbie build notifier", it's not packaged nicely or anything, so you have to install sharpdevelop in order to use it.

You also need to install Growl for windows, since this is whats used for notification.

Then you need to have your tests organized so that the tests reside in assemblies called xyx.tests.dll (where xyz.dll is the dll you are testing).

Then install SharpDevelop

Change the source code of khebbie build notifier so that it points to your installation of NUnit (yes it only runs NUnit tests)

Change the source of code khebbie build notifier so that i points to where your source reside

This should all be moved to configuration... someday

Start khebbie build notifier and whenever you compile a dll or its corresponding test dll, the tests will run.

I have changed Growl for windows so that failures are displayed in red and success are displayed in green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment