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

[Core] Merge duplicate plugin options #2191

Merged
merged 1 commit into from
Dec 14, 2020
Merged

Conversation

mpkorstanje
Copy link
Contributor

It is possible to declare duplicate plugins. Either through @CucumberOptions,
or cucumber.plugin, ect or a combination thereof. This can be used to ensure
certain plugins are always active during a build in CI.

Merging duplicate plugin options should ensure that plugins are not
instantiated twice with the same output.

Fixes: #2190

It is possible to declare duplicate plugins. Either through `@CucumberOptions`,
or `cucumber.plugin`, ect or a combination thereof. This can be used to ensure
certain plugins are always active during a build in CI.

Merging duplicate plugin options should ensure that plugins are not
instantiated twice with the same output.

Fixes: #2190
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #2191 (b146bb6) into main (656fc60) will decrease coverage by 0.04%.
The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #2191      +/-   ##
============================================
- Coverage     82.82%   82.77%   -0.05%     
- Complexity     2327     2330       +3     
============================================
  Files           306      306              
  Lines          8296     8303       +7     
  Branches        762      764       +2     
============================================
+ Hits           6871     6873       +2     
- Misses         1116     1118       +2     
- Partials        309      312       +3     
Impacted Files Coverage Δ Complexity Δ
...in/java/io/cucumber/core/options/PluginOption.java 93.02% <16.66%> (-5.72%) 24.00 <2.00> (+3.00) ⬇️
.../java/io/cucumber/core/options/RuntimeOptions.java 92.66% <100.00%> (ø) 46.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 656fc60...b146bb6. Read the comment docs.

@mpkorstanje
Copy link
Contributor Author

Generated code. Thanks codecov.

@mpkorstanje mpkorstanje merged commit 36952b9 into main Dec 14, 2020
@mpkorstanje mpkorstanje deleted the merge-plugin-options branch December 14, 2020 20:10
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.

Cucumber command line options not overriding
1 participant