Geoffroy’s Weblog

June 1, 2011

Testing Excel workbooks

Filed under: Ideas, Unit Testing — gseive @ 9:35 pm

In Gerald Weinberg’s classification, the “pattern 0″ organization is known as the “oblivious” culture (“We don’t even know that we’re performing a process”). One tool that comes to my mind when thinking about that culture is Microsoft Excel.

How many people using Excel think of their formulas as automation requiring testing?

Let’s say you have a formula like =a1*b1+c1 but really what you meant was =a1*(b1+c1). This is obviously simplistic, but it highlights two needs:

Did I understand correctly what needed to be automated?

Do I have a good mastery of the mathematical (and excel) tools?

The latter being, in my opinion, easier to improve than the former. And the difficulty can be compounded by the fact that if I am developing this model for myself then, most likely, nobody else is going to look at it.

Why not “unit testing” for Excel?

This doesn’t seem to be a topic often covered in Excel classes, even though it should be addressed from the beginners course and at each other level from there on.

Codematic Ltd. seems to have thought about that.

http://www.codematic.net/excel-development/excel-dev-general/excel-testing.htm

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.