I have a bunch of selenium test classes and I am trying to Ignore some tests without making any code changes. There are properties in appsettings with bool true/false values to determine if the TestMethods within a class should be run or ignored. I don't want to add Ignore attribute as Ignore attribute means I have to update the attribute for each TestClass that needs to be updated.
I searched but I am always ending up with Ignore attribute on the TestClass or TestMethods but nothing to skip at runtime based on a condition.