Testing: one of the key principles

One of the key principles of software engineering which I have picked up over the years is the importance of testing your code. This is why I really like test-driven development. I have found that writing tests right at the beginning of your development is crucial. No matter whether you are updating some existing code in an old codebase or you are writing fresh code in a new codebase, I think testing your code from the beginning is a really helpful technique.

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test…

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