Testing

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
Advertisements

2 Responses to “Testing”


  1. 1 franchise opportunities atlanta January 16, 2018 at 5:07 am

    I’m really enjoying the theme/design of your site. Do you ever run into any web browser compatibility problems? A number of my blog visitors have complained about my website not working correctly in Explorer but looks great in Chrome. Do you have any suggestions to help fix this problem?

  2. 2 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 )

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 )

w

Connecting to %s




Pages

Thru Lens

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

%d bloggers like this: