Unit testing

Unit tests are automated tests written and run by software developers to ensure that a section of an application (known as the "unit") meets its design and behaves as intended.
Writing unit tests when implementing new features is a best practice in software development. Here follow some resources for specific programming languages to get you started:
header image credit: xkcd