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

Gradle plugin tests & fixes #654

Merged
merged 15 commits into from
Dec 22, 2020
Merged

Gradle plugin tests & fixes #654

merged 15 commits into from
Dec 22, 2020

Conversation

petertrr
Copy link
Member

@petertrr petertrr commented Dec 18, 2020

What's done:

  • Respect ignoreFailures flag
  • Made excludes non-nullable
  • Fix for file patterns
  • Use plugin.apply in unit tests
  • Use GradleVersion from gradle API instead of custom
  • Jacoco reports for all functional tests
  • Introduced Utils for runctional tests
  • Functional tests for Groovy DSL

This pull request closes #653

### What's done:
* Improvements
### What's done:
* Improvements
@codecov
Copy link

codecov bot commented Dec 18, 2020

Codecov Report

Merging #654 (ff191c7) into master (5651364) will increase coverage by 0.21%.
The diff coverage is 84.61%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #654      +/-   ##
============================================
+ Coverage     79.01%   79.23%   +0.21%     
- Complexity     1792     1799       +7     
============================================
  Files            88       87       -1     
  Lines          4704     4695       -9     
  Branches       1510     1508       -2     
============================================
+ Hits           3717     3720       +3     
+ Misses          288      280       -8     
+ Partials        699      695       -4     
Flag Coverage Δ Complexity Δ
unittests 79.23% <84.61%> (+0.21%) 0.00 <7.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 93.75% <81.81%> (+15.17%) 15.00 <5.00> (+6.00)
...n/org/cqfn/diktat/plugin/gradle/DiktatExtension.kt 100.00% <100.00%> (ø) 6.00 <2.00> (+1.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 5651364...ff191c7. Read the comment docs.

### What's done:
* improvements
### What's done:
* Removed custom GradleVersion
### What's done:
* Make excludes non-nullable
### What's done:
* Code style
### What's done:
* Test with absolute paths
* Test with gradle 5.0
### What's done:
* Respect ignoreFailures property
* More functional tests
* Functional tests for groovy DSL
### What's done:
* Functional tests for groovy DSL
@petertrr petertrr marked this pull request as ready for review December 22, 2020 08:26
### What's done:
* Functional tests for groovy DSL
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

@petertrr petertrr merged commit f74d7ff into master Dec 22, 2020
@petertrr petertrr deleted the feature/gradle-tests#653 branch December 22, 2020 15:42
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.

Add more examples for gradle functionalTest
3 participants