You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class A {
[Setup]
public virtual void Setup() {
DoStuff();
}
}
class B : A {
[Setup]
public override void Setup() {
base.Setup();
DoSomeMoreStuff();
}
}
This triggers an error saying that you have more than one Setup. This is strictly untrue, as there is a single one (Setup). Removing the [Setup] marker means that no method is called afterwards (not even the inherited one). If you do set it with [Setup], however, everything seems to run fine anyways. This only happens when using ExecutionValidator.FailOnError.
The text was updated successfully, but these errors were encountered:
If you have something like:
This triggers an error saying that you have more than one Setup. This is strictly untrue, as there is a single one (Setup). Removing the [Setup] marker means that no method is called afterwards (not even the inherited one). If you do set it with [Setup], however, everything seems to run fine anyways. This only happens when using ExecutionValidator.FailOnError.
The text was updated successfully, but these errors were encountered: