I am using Nunit V2.6.4
and NunitTestAdapter v2.0
to run selenium
tests in visual studio 2015
. We also have a build definition set up to run these tests nightly(on selenium grid)in chrome browser. I want to run a subset of these tests in IE and Firefox, so I added a Nunit Category “SmokeTest” attribute to some of the tests.
Created a new build definition and included the following in the TestCaseFilter
TestCategory = SmokeTest & TestCategory != Remote.chrome
Outcome: All tests are selected. It looks like the Testcategory filter is being ignored.
Any idea to solve this?
TestCategory=SmokeTest&TestCategory!=Remote.chrome
This works for me with Nunit 2.