Don’t put test scripts in production.

They don’t belong there.

Test scripts are very important, and should be in version control and treated as software. But they should not be installed on production systems. Make sure your scripts that deploy code to production systems does not deploy the test scripts.

You may think there’s no harm in having scripts that sit there doing nothing, but the problem is that sooner or later, one of those scripts will get executed by accident. And what do test scripts do? They truncate data, drop databases, fill tables with fake elements. Any of which could cause major issues with the production systems, possibly leading to loss of customer data and system outages.

Be smart. Keep that stuff out.

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 )

Google photo

You are commenting using your Google 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

%d bloggers like this: