Types of Tests

There are several different types of tests. In my work, four have proved to be the most valuable: unit tests, functional tests, regression tests, and integration tests. Let's discuss each type separately.

Unit Tests

Unit tests are written by programmers to ensure that programs work as they're supposed to. What defines what a program is supposed to do? The specifications and design laid out earlier. Unit tests are often built right into the software, with conditional defines either including or excluding them from the compiled executable. Unit tests affirm, module by module, that code correctly implements the functionality the programmer thinks it's supposed to have. Unit tests help identify software bugs.

Functional Tests

Functional ...

Get Guru's Guide to SQL Server™ Stored Procedures, XML, and HTML, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.