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

refactor (gradle analysis) add a test suite and clean up code. #425

Merged
merged 10 commits into from
Mar 26, 2019

Conversation

zlav
Copy link
Member

@zlav zlav commented Mar 21, 2019

Gradle analysis has been growing by small PR's for a while and needed to be refactored in order to create a robust testing method. This PR introduced testing for analyzer/gradle Discovery and Analysis, and many buildtool/gradle functions.

This PR also includes a fair amount of renaming within buildtools/gradle in order to clarify what the functions are doing and ensure that production vs testing paths are more explicit.

This PR fixes the gradle test flake on circle ci.

@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #425 into master will increase coverage by 2.85%.
The diff coverage is 28.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
+ Coverage   42.98%   45.84%   +2.85%     
==========================================
  Files          81       81              
  Lines        4234     4234              
==========================================
+ Hits         1820     1941     +121     
+ Misses       2243     2110     -133     
- Partials      171      183      +12
Impacted Files Coverage Δ
buildtools/gradle/gradle.go 57.05% <24%> (+37.31%) ⬆️
analyzers/gradle/gradle.go 38.03% <32.35%> (+38.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e26421e...339bb62. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #425 into master will increase coverage by 2.85%.
The diff coverage is 28.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
+ Coverage   42.98%   45.84%   +2.85%     
==========================================
  Files          81       81              
  Lines        4234     4234              
==========================================
+ Hits         1820     1941     +121     
+ Misses       2243     2110     -133     
- Partials      171      183      +12
Impacted Files Coverage Δ
buildtools/gradle/gradle.go 57.05% <24%> (+37.31%) ⬆️
analyzers/gradle/gradle.go 38.03% <32.35%> (+38.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e26421e...66f699d. Read the comment docs.

@zlav zlav merged commit bb551cd into master Mar 26, 2019
@zlav zlav deleted the refactor/gradle-analysis branch March 26, 2019 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant