I have this setup:
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)]
I want to use ICollectionFixture<T>
to share an instance to the whole assembly.
It seems that I have to declare a [CollectionDefinition]
class to use ICollectionFixture
but how can I do it if I use the CollectionPerAssembly
approach?
[CollectionDefinition("???")]
class Definition : ICollectionFixture<MySingleton>
{
}