Gated check-ins is the TFS feature that allows testing check-ins before building completes. When a developer submits a gated check-in, the build system shelves the changes, builds the project, runs tests, and only commits the changes if everything passes. This prevents broken builds from entering the repository.