Skip to content

Refactor integration test for detekt-gradle-plugin#3356

Merged
schalkms merged 1 commit intodetekt:masterfrom
picklebento:integ-gradle-plugin-test
Jan 8, 2021
Merged

Refactor integration test for detekt-gradle-plugin#3356
schalkms merged 1 commit intodetekt:masterfrom
picklebento:integ-gradle-plugin-test

Conversation

@picklebento
Copy link
Copy Markdown
Member

@picklebento picklebento commented Jan 6, 2021

This addresses #3324 by creating a different sourceSet/configuration to run integration tests using Gradle Testkit.
Note that DetektPluginTest.kt remains in the test set, as it is testing against Gradle API, not Gradle Testkit.

Gradle documentation on test kit: https://docs.gradle.org/current/userguide/test_kit.html

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 6, 2021

Codecov Report

Merging #3356 (1d5752d) into master (a17e332) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3356   +/-   ##
=========================================
  Coverage     80.27%   80.27%           
  Complexity     2717     2717           
=========================================
  Files           445      445           
  Lines          8238     8238           
  Branches       1563     1563           
=========================================
  Hits           6613     6613           
  Misses          785      785           
  Partials        840      840           

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 a17e332...ee727f5. Read the comment docs.

@picklebento picklebento changed the title Create integration source set for detekt-gradle-plugin Refactor integration test for detekt-gradle-plugin Jan 6, 2021
@picklebento picklebento force-pushed the integ-gradle-plugin-test branch 2 times, most recently from 4f2ebb1 to 0af3381 Compare January 6, 2021 18:52
@picklebento picklebento marked this pull request as ready for review January 6, 2021 19:24
@picklebento picklebento force-pushed the integ-gradle-plugin-test branch from 0af3381 to ee727f5 Compare January 7, 2021 17:47
@schalkms schalkms merged commit a778c44 into detekt:master Jan 8, 2021
@picklebento picklebento deleted the integ-gradle-plugin-test branch January 13, 2021 04:07
@arturbosch arturbosch added this to the 1.16.0 milestone Jan 18, 2021
@arturbosch arturbosch added the housekeeping Marker for housekeeping tasks and refactorings label Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

housekeeping Marker for housekeeping tasks and refactorings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants