<div dir="ltr">Hi folks,<div><br></div><div>  I&#39;ve tried to determine the current best practice for managing projects with tests. I figure I would just ask ...</div><div><br></div><div>Scenario: I have a project with a code module and a test module. I need it to run on both macosx (darwin) as well as Linux.</div><div><br></div><div>Using swiftpm on Linux works fine. It fails on macosx (the error is that an underlying dependency for XCTest cannot be loaded). What I read is that corelibs-xctest was not meant to be run on Darwin. I&#39;m coming to the conclusion that I should have a .xcodeproj with a framework target and test target for Darwin testing. Leaving the swiftpm approach for Linux only.</div><div><br></div><div>Does that sound about right?</div><div><br></div><div>Thanks!</div><div>-Scott</div><div><br></div><div><br></div></div>