Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created SwiftSensor class and reworked reportDirectory into reportsInRoot #162

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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