Skip to content

Conversation

isaacwang4076
Copy link

  • Created SwiftSensor abstract class, which SwiftLintSensor and SwiftCoberturaSensor extend
  • Removed ReportFilesFinder. Report finding functionality moved to Util, and settings reading functionality moved to SwiftSensor
  • Reworked reportDirectory to reporstInRoot, which makes reportPattern / reportPath evaluated from the project root for modules
  • Cleaned up CoberturaReportParser and SwiftLintReportParser
  • Reworked ReportFilesFinderTest to SwiftSensorTest

These changes make the addition of new Sensors as easy as extending the SwiftSensor class which offers modular support and report location off the bat and adding a new report parser. I realize there's a lot of changes, feel free to send me any questions or concerns.

- Created SwiftSensor abstract class, which SwiftLintSensor and SwiftCoberturaSensor extend
- Removed ReportFilesFinder. Report finding functionality moved to Util, and settings reading functionality moved to SwiftSensor
- Reworked reportDirectory to reportInRoot, which makes reportPattern / reportPath evaluated from the project root
- Cleaned up CoberturaReportParser and SwiftLintReportParser
- Reworked ReportFilesFinderTest to SwiftSensorTest
@gaelfoppolo
Copy link
Collaborator

Please fix the conflicts before any review @isaacwang4076.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants