Hi, I'm migrating some test code from Xcode projects to SPM
packages.
In our Xcode project's tests we make use of Apple's XCTestObservation. These are added to the XCTestObservationCenter before any tests are running using NSPrincipalClass
as recommended by apple. The NSPrincipalClass
is defined in a module's info.plist
.
As far as I'm aware it is not possible to define a module's info.plist
in SPM
.
Is there any other way to ensure some code is run before any tests are run in a test bundle defined in SPM
?
Thank you!