Where should TestPackage be defined? #919
Labels
Breaking Change
High Priority
Refactor
V4
All issues related to V4 - use -label:V4 to get non-V4 issues
Milestone
Question for the team for V4...
Currently,
TestPackage
is defined in thenunit.engine.api
assembly. I'm working on issue #889 to remove some confusion about the constructor forTestPackage
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:
ITestPackage
interface in the api assembly and defineTestPackage
itself in the engine, probably inengine.core
. That would mean giving the user some new interface (maybe a service) to create test packages.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.
The text was updated successfully, but these errors were encountered: