If I have:
[TestFixture]
public class BaseTestFixture
{
[TestFixtureSetup]
public void SetUpStuff()
{
}
}
[TestFixture]
public class DeriveTestFixture : BaseTextFixture
{
[TestFixtureSetup]
public void SetupOtherStuff()
{
}
}
Does the BaseTextFixture TestFixtureSetup method get called before or after the DerivedTestFixture TestFixtureSetUp method?
Why not prove it to yourself with the test?
That said you might think about only having the attributes on the base and having two other functions to override such as OnAfterTestFixtureSetup() so it’s more explicit. That is,