You have a Visual Studio Team Foundation Server 2010 environment. You have a team project that was created by using the MSF for Agile Software Development v5.0 process template. All developers are members of the Contributors team project security group. Developers check in source code that fails a set of automated tests. You need to ensure that only source code that passes all automated tests is checked in.
What should you do?
A.
Add the Builds check-in policy to your team project.
B.
Add the Testing check-in policy to your team project.
C.
Create a build definition, set the check-in trigger to Gated Check-in, and enable automated testing.
D.
Create a build definition, set the check-in trigger to Continuous Integration, and enable automated testing.