realm / SwiftCov

A tool to generate test code coverage information for Swift.
MIT License
562 stars 41 forks source link

Only set breakpoints in files from a given module #17

Open jpsim opened 9 years ago

jpsim commented 9 years ago

By parsing xcodebuild output, we should be able to detect which swift files are compiled for the module being tested. SourceKitten does this. This would avoid the basic file.endswith('.swift') and not file.endswith('Tests.swift') condition for adding breakpoints.