Closed
Description
In #2836, the subject came up of allowing Assert
and other *Assert
classes to be extended through inheritance the way we do for Is
, Iz
, Does
, Has
, Throws
, and Contains
.
A past team, before NUnit 3, had decided that Assert
should be inheritable:
nunit/src/NUnitFramework/framework/Assert.cs
Lines 53 to 62 in d411123
@CharliePoole asked for us to reconsider these classes, keeping in mind that, “The current team has never actually decided that we want people to be able to do this.”
➡ What do I mean by “supporting inheritance of Assert,” since it is currently inheritable? From my best understanding of #2836, I mean keeping it in the list of classes we test to ensure inheritance which we started in #2839.