Skip to content

Add user-defined var generators #5

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

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Add user-defined var generators #5

merged 2 commits into from
Mar 7, 2023

Conversation

vearutop
Copy link
Member

@vearutop vearutop commented Mar 7, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Gherkin Specification 1 47 (+8) 27 (+4) 14 (+2) 6 (+2) 1 1.8K (+306B)
Go 2 252 (+43) 179 (+32) 20 (+2) 53 (+9) 50 (+12) 6.1K (+869B)
Go (test) 2 52 (+3) 39 (+3) 2 11 3 1.2K (+80B)
Markdown 1 104 (+11) 85 (+9) 0 19 (+2) 0 3.7K (+421B)

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Go API Changes

# github.com/godogx/vars
## incompatible changes
Steps: old is comparable, new is not
## compatible changes
(*Steps).AddGenerator: added

# summary
Inferred base version: v0.1.3
Suggested version: v0.2.0

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Unit Test Coverage

total: (statements) 78.2%
changed lines: (statements) 72.7%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 72.7%
steps.go 72.7%
steps.go:35 AddGenerator 100.0%
steps.go:44 Register 100.0%
steps.go:115 gen 87.1%
steps.go:91 varIsSet 64.3%
steps.go:155 varsAreSet 64.3%
steps.go:135 varEquals 0.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 78.0% 78.2% (+0.2%)
github.com/godogx/vars/steps.go AddGenerator no function 100.0%
github.com/godogx/vars/steps.go gen no function 80.0%
github.com/godogx/vars/steps.go varIsSet 77.8% 75.0% (-2.8%)
github.com/godogx/vars/steps.go varsAreSet 78.6% 76.5% (-2.1%)

@vearutop vearutop merged commit 1e8e6a1 into master Mar 7, 2023
@vearutop vearutop deleted the add-generators branch March 7, 2023 14:23
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.

1 participant