Identical to this: How to run some tests only in azure devops CI env but not locally, but for NUnit, rather than xUnit.
I want some of my test to get run by my Azure DevOps pipeline, but not by my local (VisualStudio + R#) IDE.
Linked question solves this with a custom xUnit Attribute, but my project uses NUnit so answers to that question won't help.