gem install xcov # required | might need sudo
gem install fastlane # optional | might also need sudo
# Need a xcodeproj file first
swift package generate-xcodeproj
# Run the test with either `xcodebuild`
xcodebuild test -scheme TDRedux -enableCodeCoverage YES
# OR fastlane
fastlane scan --code_coverage
# Generate report with `xcov` gem
xcov