Integration tests execute real code paths, revealing syntax errors.
By running the application code in a near-production environment, integration tests can expose syntax errors that might not be caught by unit tests. For example, an integration test that exercises a SQL query could reveal syntax errors in the query string when executed against a real database.