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 tests in detekt-gradle-plugin #3333

Merged
merged 3 commits into from
Dec 28, 2020
Merged

Conversation

chao2zhang
Copy link
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
Copy link

codecov bot commented Dec 28, 2020

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.

Copy link
Member

@BraisGabin BraisGabin left a comment

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.

@schalkms schalkms merged commit 3fa8f37 into detekt:master Dec 28, 2020
chao2zhang pushed a commit to chao2zhang/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`
@chao2zhang chao2zhang 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