Hornet Dear Bernard

Dear, Dear Bernard

“A test is not a unit test if: It talks to the databaseIt communicates across the networkIt touches…”

leave a comment »

“A test is not a unit test if: It talks to the database
It communicates across the network
It touches the file system
It can’t run at the same time as any of your other unit tests
You have to do special things to your environment (such as editing config files) to run it.”

Defining unit tests – Jimmy Bogard – Los Techies : Blogs about software and anything tech!

Advertisements

Written by bernardhornet

March 7, 2011 at 3:05 pm

Posted in Uncategorized

Tagged with

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

%d bloggers like this: