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

[bdd-engine] Add ability to load ExamplesTable bodies from variable #1948

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valfirst
Copy link
Collaborator

@valfirst valfirst commented Sep 8, 2021

No description provided.

@sonarcloud
Copy link

sonarcloud bot commented Sep 8, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

90.9% 90.9% Coverage
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Sep 8, 2021

Codecov Report

Merging #1948 (423da69) into master (c6ab617) will decrease coverage by 0.00%.
The diff coverage is 88.88%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1948      +/-   ##
============================================
- Coverage     96.01%   96.01%   -0.01%     
- Complexity     5297     5298       +1     
============================================
  Files           751      752       +1     
  Lines         15113    15116       +3     
  Branches       1030     1029       -1     
============================================
+ Hits          14511    14513       +2     
- Misses          469      470       +1     
  Partials        133      133              
Impacted Files Coverage Δ
...have/core/model/VariableResolvingTableParsers.java 75.00% <75.00%> (ø)
...ine/src/main/java/org/vividus/bdd/StoryLoader.java 81.81% <100.00%> (-3.90%) ⬇️
.../org/vividus/bdd/spring/ExtendedConfiguration.java 89.09% <100.00%> (+0.41%) ⬆️

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 c6ab617...423da69. Read the comment docs.

@@ -12,6 +12,8 @@ bdd.batch-1.meta-filters=groovy: !skip && epic != 'vividus-plugin-ssh' && !local
bdd.batch-1.threads=5
bdd.batch-1.story-execution-timeout=PT10M
bdd.variables.batch-1.locale=ca
bdd.variables.batch-1.filtered-examples-table={transformer=FILTERING, byColumnNames=column3}\
Copy link
Member

Choose a reason for hiding this comment

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

does it make sense to put some variables into this table definition? global/scoped?

import org.jbehave.core.steps.ParameterConverters;
import org.vividus.bdd.steps.VariableResolver;

public class VariableResolvingTableParsers extends TableParsers
Copy link
Member

Choose a reason for hiding this comment

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

Please add unit tests for the class

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.

2 participants