Problems using the test case filter

Hello, I have a solution with many tests and I want to categorize them to be able to execute by blocks and I had thought of using the test case filter, using the following code

                   /TestCaseFilter:TestCategory=Daily]]

and in the test code this line

                   [TestMethod, TestCategory("Daily")]

 

The problem comes when I launch the solution and it gives me the following error

                   No test matches the given testcase filter `/TestCaseFilter:TestCategory=Daily]]

 

But if I put this filter, it does test me except those that have "daily" set.

                   /TestCaseFilter:TestCategory!=Daily]]

 

any help please? I do not know what I'm doing wrong

Thanks

0

Please sign in to leave a comment.