Tips from The Practice of Programming by Kerninghan and Pike

  • Test code at it’s boundaries
  • Test pre and post conditions
  • Use assertions
  • Program defensively
  • Check error returns
  • Test incrementally
  • Test simple parts first
  • Know what output to expect
  • Verify conservation properties
  • Compare independent implementations
  • Measure test coverage
  • Automate regression testing
  • Create a self contained tests

1 Response to “Testing”

  1. 1 Jesse Grillo Jesse Grillo September 1, 2017 at 8:35 am

    I enjoyed reading what you had to say. Great work, keep it up. I could not stop from commenting. I shared this on my page and 13 of my friends have already seen it!

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


Thru Lens


View Karthikeyan S's profile on LinkedIn
Alltop, confirmation that we kick ass

%d bloggers like this: