Compiling unit test code along with main target?


Rick Mann
 

I tend to neglect my unit tests for long stretches, and pay the price. One thing that would help would be if I had to deal with compiler errors each time I made a change to the main target. Is there any way to get Xcode to build all the unit tests (but not run them) each time I hit Command-B on my main target?

Oh, and this is actually a SwiftPM project.

Thanks,

--
Rick Mann
rmann@latencyzero.com

Join xcode@apple-dev.groups.io to automatically receive all group messages.