MbUnit and Watir
The man plip will be giving a talk about Watir and WatirNUt at a local Rails event. While WatirNUt is a nice tool the source is closed and only supports NUnit. This code project article shows another approach and has source so if you want to use MbUnit for your Watir testsing you will need to make the following mods.
- Added refs to mbunit.framework.dll and changed using statements.
- Changed the Paraesthesia.Test.Ruby.cs file so the exception attribute eads
[ExpectedException(typeof(MbUnit.Core.Exceptions.AssertionException))]
typeof(MbUnit.Core.Exceptions.AssertionException))]
The exception code is held in different place to the NUnit exeception code, hench the change. You will also need to compile this against the latest drop of MbUnit (83 or higher, it will work with RC2 when released as well).