How to exclude unit-tests with TestCaseFilter in TFS Build which do contain a namespace <p>I want to exclude all tests which include <strong>Abc</strong> in the namespace.</p> <p>What is the correct pattern to use ?</p> <pre><code>!(FullyQualifiedName~.Abc.) </code></pre> <p>is not valid ?</p> <p>I used this web-page as reference : <a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/09/26/running-selective-unit-tests-in-vs-2012-using-testcasefilter.aspx" rel="nofollow">http://blogs.msdn.com/b/visualstudioalm/archive/2012/09/26/running-selective-unit-tests-in-vs-2012-using-testcasefilter.aspx</a></p>