Approaches to Testing

There are the following approaches to testing:

      Test-driven development, when the process of developing a new feature starts with writing a test that checks this feature. See Test-Driven Development.

      Code-driven development, when tests are written after the code is developed. See Code-Driven Development.