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

Fixing diktat-gradle-plugin #628

Merged
merged 13 commits into from
Dec 10, 2020
Merged

Fixing diktat-gradle-plugin #628

merged 13 commits into from
Dec 10, 2020

Conversation

petertrr
Copy link
Member

@petertrr petertrr commented Dec 9, 2020

What's done:

  • Introduced functional tests for diktat-gradle-plugin
  • Calculate code coverage for functional tests for diktat-gradle-plugin
  • Skip gradle tests when maven is run with -DskipTests=true
  • Updated gradle to 6.7.1

This pull request closes #627

### What's done:
* Introduced functional tests for diktat-gradle-plugin
### What's done:
* WIP
### What's done:
* WIP
### What's done:
* WIP
### What's done:
* Respect skipTests in diktat-gradle-plugin build
### What's done:
* Run task functionalTest after test
* Manually relativize file paths
### What's done:
* Do not use quotes in patterns
* Run gradle daemon in CI builds
### What's done:
* Improved functional tests
@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #628 (53f7ff8) into master (7979216) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #628      +/-   ##
============================================
+ Coverage     80.76%   80.78%   +0.02%     
- Complexity     1748     1750       +2     
============================================
  Files            89       89              
  Lines          4612     4612              
  Branches       1391     1391              
============================================
+ Hits           3725     3726       +1     
+ Misses          320      318       -2     
- Partials        567      568       +1     
Flag Coverage Δ Complexity Δ
unittests 80.78% <100.00%> (+0.02%) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...qfn/diktat/plugin/gradle/DiktatJavaExecTaskBase.kt 78.57% <100.00%> (+2.38%) 9.00 <0.00> (+2.00)

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 7979216...53f7ff8. Read the comment docs.

@petertrr petertrr marked this pull request as ready for review December 10, 2020 10:15
Copy link
Collaborator

@kentr0w kentr0w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but a few questions to clarify

### What's done:
* Jacoco test coverage in functionalTest
### What's done:
* Jacoco test coverage in functionalTest
Copy link
Collaborator

@aktsay6 aktsay6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

### What's done:
* Jacoco test coverage in functionalTest
### What's done:
* Jacoco test coverage in functionalTest
@petertrr petertrr merged commit e9bda99 into master Dec 10, 2020
@petertrr petertrr deleted the bugfix/gradle-plugin#627 branch December 10, 2020 13:17
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.

Diktat-gradle-plugin 0.1.6 doesn't detect inputs on Linux
3 participants