SlatherOrg / slather

Generate test coverage reports for Xcode projects & hook it into CI.
MIT License
1.56k stars 237 forks source link

Input-format parameter unavailable when generating HTML output #127

Open RuudPuts opened 8 years ago

RuudPuts commented 8 years ago

I want to generate HTML files based on profdata coverage generated by Xcode 7.2. Using a checkout of the master branch I'm using the following command:

bundle exec slather coverage --input-format profdata --html --build-directory Source/Build --output-directory Products/CorberturaReport --scheme ${SCHEME} Source/project.xcodeproj

This throws the following error:

ERROR: Unrecognised option '--input-format' See: 'slather coverage --help'

When replacing --html with --cobertura-xml all works fine:

bundle exec slather coverage --input-format profdata --cobertura-xml --build-directory Source/Build --output-directory Products/CorberturaReport --scheme ${SCHEME} Source/project.xcodeproj

This might be an issue within Clamp itself, but I couldn't find a direct cause for it in the current master branch. Please let me know if any additional information is required.

sebromero commented 8 years ago

@neonichu Maybe it's an overkill but at this point we should think about including test cases for the slather command.