Skip to content

Add src/test/java and src/test/kotlin by default in PlainDetekt#3649

Merged
picklebento merged 3 commits into
mainfrom
test-src-as-default
Apr 7, 2021
Merged

Add src/test/java and src/test/kotlin by default in PlainDetekt#3649
picklebento merged 3 commits into
mainfrom
test-src-as-default

Conversation

@BraisGabin
Copy link
Copy Markdown
Member

We aren't adding the source sets src/test/java and src/test/kotlin in the PlainDetekt. It have little sense that we don't add those by default because our default configuration take those sources into account.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2021

Codecov Report

Merging #3649 (b59ba33) into main (1c140c8) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

❗ Current head b59ba33 differs from pull request most recent head 2f6116b. Consider uploading reports for the commit 2f6116b to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##               main    #3649      +/-   ##
============================================
- Coverage     78.12%   78.08%   -0.04%     
  Complexity     2836     2836              
============================================
  Files           467      467              
  Lines          9142     9146       +4     
  Branches       1737     1737              
============================================
  Hits           7142     7142              
- Misses         1058     1062       +4     
  Partials        942      942              
Impacted Files Coverage Δ Complexity Δ
...ab/arturbosch/detekt/extensions/DetektExtension.kt 0.00% <0.00%> (ø) 0.00 <0.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 1c140c8...2f6116b. Read the comment docs.

@picklebento
Copy link
Copy Markdown
Member

It have little sense that we don't add those by default because our default configuration take those sources into account.

Agree 👍

@picklebento picklebento added this to the 1.17.0 milestone Apr 4, 2021
@picklebento picklebento merged commit 4495b36 into main Apr 7, 2021
@picklebento picklebento deleted the test-src-as-default branch April 7, 2021 01:02
@BraisGabin BraisGabin added the housekeeping Marker for housekeeping tasks and refactorings label Apr 7, 2021
@cortinico
Copy link
Copy Markdown
Member

This is something we want to mention specifically in the changelog right? I expect users that are using the default config to get a lot of violation for their tests: #3102 (comment)

@BraisGabin BraisGabin removed the housekeeping Marker for housekeeping tasks and refactorings label Apr 27, 2021
@BraisGabin
Copy link
Copy Markdown
Member Author

Agree, this is not housekeeping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notable changes Marker for notable changes in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants