Category Archives: testing

Casting reflected types – What I learnt

For my Translation Tester I originally wanted a user to be able to add a mapping between two properties of different types, so for example they could say that a property of type Int16 would be directly assigned to a … Continue reading

Posted in .net, development, testing, TranslationTester | Leave a comment

Extending unit testing frameworks with the Translation Tester

While I’ve been working on my TranslationTester project, I’ve been wondering whether the tool should either be a stand-along tool, or whether it would make sense to contribute it to one of the many unit testing frameworks out there (NUnit, … Continue reading

Posted in testing, TranslationTester | Leave a comment

Rationalising mocked dependencies using concrete types

This really is amazingly obvious and simple, but for some reason it never occurred to me. The situation I’ve been getting myself into is that I have Business Logic actions that do a very discrete bit of logic, these will … Continue reading

Posted in dependency injection, development, IoC, mocks, MSTest, testing | Leave a comment

Translation Tester, part 3 – Requirements

In the 3rd part of the Translation Tester series I intend to come up with some initial requirements for the product. This will then be used to create a product backlog and drive development via ‘Test Driven Development’. I’m going … Continue reading

Posted in acceptance testing, agile, requirements, testing, TranslationTester, Uncategorized | 1 Comment

Translation Tester, part 1 – The problem

Introduction This post is the 1st in what may become a series of posts detailing the development of a test support tool for testing ‘Translators’. I’m planning on blogging the development of this tool for a few reasons. One reason … Continue reading

Posted in testing, TranslationTester, Uncategorized | 1 Comment

Strictly mocked operations rather than strictly mocked interfaces?

Recently I’ve been planning to contribute to the rhino mocks wiki. One of the topics I thought I would write about is when I would use the different types of mock (CreateMock, DynamicMock, Stub etc). To this end I was … Continue reading

Posted in, development, mocks, TDD, testing | Leave a comment

Upgrading CAB solution to Visual Studio 2008 and making all the tests pass

For one reason or another we’ve recently upgraded the Microsoft Composite Application Block solution to a Visual Studioo 2008 solution. The conversion appeared to succeed, but when we tried to run the unit tests we had lots of failures. I … Continue reading

Posted in .net, CAB, Composite Application Block, MSTest, testing, Visual Studio 2008 | Leave a comment