Skip to content

Refactor tests in detekt-gradle-plugin - #3333

Merged
schalkms merged 3 commits into
detekt:masterfrom
picklebento:misctest
Dec 28, 2020
Merged

Refactor tests in detekt-gradle-plugin#3333
schalkms merged 3 commits into
detekt:masterfrom
picklebento:misctest

Conversation

@picklebento

Copy link
Copy Markdown
Member
  1. Moved data classes, DslGradleRunner, and DslTestBuilder under testkit
  2. Updated because reason in build.gradle.kts
  3. Inlined and updated the formatting version under test.

1. Moved data classes, DslGradleRunner, and DslTestBuilder under `testkit`
2. Updated because reason in build.gradle.kts
3. Inlined and updated the formatting version under test.
@codecov

codecov Bot commented Dec 28, 2020

Copy link
Copy Markdown

Codecov Report

Merging #3333 (e94f06b) into master (fb50099) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3333   +/-   ##
=========================================
  Coverage     80.32%   80.32%           
  Complexity     2721     2721           
=========================================
  Files           445      445           
  Lines          8168     8168           
  Branches       1553     1553           
=========================================
  Hits           6561     6561           
  Misses          774      774           
  Partials        833      833           

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 fb50099...4a104fc. Read the comment docs.

@BraisGabin BraisGabin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice!

It will help if, the next time, you move files in one commit and refactor the file in another. This way we can review it commit by commit and see the actual changes in that file. Otherwise git says "this file was removed and this other was added".

Don't change it now! There's no need.

Comment thread detekt-gradle-plugin/build.gradle.kts Outdated
@schalkms
schalkms merged commit 3fa8f37 into detekt:master Dec 28, 2020
picklebento pushed a commit to picklebento/detekt that referenced this pull request Dec 30, 2020
* Refactor tests in detekt-gradle-plugin

1. Moved data classes, DslGradleRunner, and DslTestBuilder under `testkit`
2. Updated because reason in build.gradle.kts
3. Inlined and updated the formatting version under test.

* Improve constraint message and reduce visibility

* Use the code generated `DEFAULT_DETEKT_VERSION`
@picklebento
picklebento deleted the misctest branch January 7, 2021 16:57
arturbosch pushed a commit that referenced this pull request Jan 16, 2021
* Refactor tests in detekt-gradle-plugin

1. Moved data classes, DslGradleRunner, and DslTestBuilder under `testkit`
2. Updated because reason in build.gradle.kts
3. Inlined and updated the formatting version under test.

* Improve constraint message and reduce visibility

* Use the code generated `DEFAULT_DETEKT_VERSION`
@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.

4 participants