listi.net

Listi.net

             


Write the Test Cases First

If you haven't heard of Agile or Extreme Programming, there is an interesting concept you should know about. It's called Write the Test Cases first then write the code.

Now this isn't how I've developed software for the last 30 years, so this will be hard to implement.

The advatages of doing it this way are:
  • Automatically have a regression test
  • Easy to update the code as you can see if anything breaks from your enhancement
  • The test cases you write become the software spec