Tuesday, October 12, 2010

Thinking before acting

I've been working on a prototype of the next version of a finance model for the office. The old model is in C++ and the new model will be in C# or Java.

The prototype has advanced to the point that we need unit tests and system tests. We've been building system tests as we built the prototype, so they are in place. We now have a need for unit tests, or more specifically, class-specific tests. We need these tests to exercise features of classes before they are integrated into the system.

Our framework (a home-grown thing) is capable of such tests, and we can add them with a little effort. The unit tests will give us finer resolution on changes and faster feedback on changes. We're keeping the system tests; they exercise specific business cases and connect us to the users.


No comments:

Post a Comment