When using a filter like the one mentioned below, tests marked with ExplicitAttribute (but without any of the mentioned categories) is selected. This is unexpected.
When using a filter with only a single negated category, no ExplicitAttribute marked tests is selected - as expected.
When using the nunit3 framework the filter works a expected.
--where "cat != Db and cat != UnitTest"
resulting in:
<filter>
<and>
<not>
<cat>Db</cat>
</not>
<not>
<cat>UnitTest</cat>
</not>
</and>
</filter>
There is a rather hackish workaround, which doesn't work with Nunit3: --where "cat != Db, UnitTest" - but I rather not use that.