We have MSTest tests which automatically run in hourly production.
One of these tests is marked with [Ignore]
attribute because it is not yet ready
You could also use a test category to mark the test methods you do not want to be included in your automated test, e.g.
[TestCategory("IgnoreOnBuild")]
Thus not using the [Ignore] attribute. And combine this with a filter in your build definition, under Basic -> Automated Test -> Test Source -> Test Case Filter:
TestCategory!=IgnoreOnBuild