Test coverage measures what fraction of possible program states are reached in the test suite. The most common coverage metric is line coverage which measures what fraction of lines of code are reached in the test suite. Test coverage tools measure this automatically and can also be integrated in continuous integration.