Currently we have one CommandLine Target and one UnitTest target. To support unit testing, all source code has to be added to both targets.
Better structure would be to move the Calisto code into a framework target which is unit-testable and have only a very compact main.swift in the command line target, which executes the framework.
Thats would be a great idea. Because it's a command line target I would strongly suggest to be a static library otherwise we end up with a framework and an executable which both needs to be in sync.
Currently we have one CommandLine Target and one UnitTest target. To support unit testing, all source code has to be added to both targets.
Better structure would be to move the Calisto code into a framework target which is unit-testable and have only a very compact main.swift in the command line target, which executes the framework.