There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
(MSTest) AssemblyInitialize equivlent?
IUseFixture<T> is the equivalent of SetupFixture in NUnit and ClassInitialize in MSTest. Well, that's not entirely true because in NUnit, If you declare SetUpFixture outside of the namespace in which the tests run, it then will act as setup for the assembly. I would know becuase I had an assembly where I could toggle between MSTest and NUnit freely by giving using aliases such as:
using AssemblyInitialize = NUnit.Framework.SetUpFixtureAttribute;
So how can I get IUseFixture<T> to allow me to share context between all tests in an assembly, not just a class? Is there some other feature of XUnit that will let me do this that I missed?