Question for the team for V4...
Currently, TestPackage is defined in the nunit.engine.api assembly. I'm working on issue #889 to remove some confusion about the constructor for TestPackage and simplify some other things I'm working on.
But it seems to me that there's a bigger question... Should TestPackage really be defined as a class in this assembly, which is made up almost entirely of interfaces?
So what are the alternatives? I can think of two:
- Define an
ITestPackage interface in the api assembly and define TestPackage itself in the engine, probably in engine.core. That would mean giving the user some new interface (maybe a service) to create test packages.
- Define an
ITestPackage interface that exposes all the functionality we need and have the user define it in their application.
Or we could keep doing it as we now are.
Throwing this out there for consideration, since we are planning on changing the engine interface anyway.