I have a test where I do not need to run the SetUp method (attributed with [SetUp]) before running the test. I need the SetUp method t
You can have the main SetUp in a base class:
[SetUp]
public virtual void SetUp()
{
// Set up things here
}
...and then override it in the class where you have the tests that should not run the SetUp code:
[SetUp]
public override void SetUp()
{
// By not calling base.SetUp() here, the base SetUp will not run
}