When will I ever learn?

So, I just noticed before deploying the latest version of a system that one of the drop downs wasn’t populating on the front end.  Now, the front end is far from perfect, but this part of the code actually has pretty good test coverage.  So it was a bit puzzling as to why this hadn’t been flagged by the build.  Diving into some controller tests I knocked together about nine months ago, I find the following line.

            IgnoreStaticData(view);

Need I say more?

It seems like I need to keep re-learning the lesson: anything that you’re not testing is wrong.

Published by

Julian Birch

Full time dad, does a bit of coding on the side.

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 )

Google+ photo

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

Connecting to %s