I released a new version of the RowTest Extension. I made following changes:
Fixed Bug: SetUp and TearDown are not called on the RowTest test suite
Created new Test project for functional tests and reorganized samples.
You can download it from the RowTest Extension page.
Technorati Tags NUnit, nunitaddin, rowtest, unit-testing
I released a new version of the RowTest Extension. I made following changes:
Added build for .NET Framework 1.1.
Assemblies are now strongly named.
Added ExceptionMessage property to RowAttribute. It can be used to specify the message of an expected exception.
Added TestName property to RowAttribute. It is used to provide a custom name of the test. If TestName [...]
Jamie Cansdale published an article on using parameterized tests with NUnit, TestDriven.NET and the RowTestExtension today. He released a new version of TestDriven.NET which improved the support of NUnit AddIns.
Technorati Tags NUnit, rowtest, testdriven.net, unit-testing
Yesterday I released the new version of the RowTestExtension, an addin for NUnit. I have made following changes:
Added ExpectedException property to the [Row] attribute. It can be used to specify which type of exception to expect when the given data is passed to the test.
The [Row] attribute accepts now null values.
Removed dependency from assembly NUnitExtension.RowTest.AddIn [...]
The unit tests for NUnit contain an interesting pattern for verifying exception details. The abstract class MessageChecker in assembly nunit.framework.tests implements IExpectException, an interface introduced with NUnit 2.4. Test cases in derived test fixtures set the protected field expectedMessage to the expected exception message which can span several lines or include data from the test [...]
I had some time last week and therefore I played around with the new extensibility features of NUnit 2.4. I wanted to know, how difficult it is to implement the RowTest feature of MbUnit as NUnit Addin. Two hours later the RowTest Extension for NUnit was ready. I released the extension under the MIT license.
The [...]
In my last post I showed you how to write a minimal NUnit addin. It didn’t do anything useful, so let’s see what we can do with test decorators.
What Is a Test Decorator?
The Decorator Pattern describes a design for attaching additional responsibilities to an object dynamically. It is also known as Wrapper. Test Decorators wrap [...]