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

Update deps, explicit ctx prepare #10

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Update deps, explicit ctx prepare #10

merged 1 commit into from
Oct 29, 2024

Conversation

vearutop
Copy link
Member

No description provided.

Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 3 682 (+9) 457 (+5) 60 (+1) 165 (+3) 118 (-6) 16.8K (+185B)
Go (test) 3 352 (+10) 260 23 69 (+10) 37 8.2K (+10B)
YAML 5 350 (-3) 285 (-3) 29 36 0 11.5K (-14B)

Copy link

Go API Changes

# github.com/godogx/vars
## incompatible changes
(*Steps).AssertJSONPaths: changed from func(context.Context, *github.com/cucumber/messages-go/v16.PickleTable, []byte, bool) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v21.PickleTable, []byte, bool) (context.Context, error)
AssertJSONPaths: changed from func(context.Context, *github.com/cucumber/messages-go/v16.PickleTable, []byte, bool) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v21.PickleTable, []byte, bool) (context.Context, error)
## compatible changes
(*Steps).PrepareContext: added

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

Copy link

Unit Test Coverage

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

Coverage of changed lines
File Function Coverage
Total 66.7%
helper.go 55.6%
helper.go:172 PrepareContext 100.0%
helper.go:209 AssertJSONPaths 100.0%
helper.go:103 ReplaceFile 0.0%
helper.go:162 AssertFile 0.0%
steps.go 75.0%
steps.go:186 value 100.0%
steps.go:225 factory 100.0%
steps.go:345 varsAreSetOnceInThisFeature 0.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 78.0% 78.6% (+0.6%)
helper.go PrepareContext no function 100.0%
steps.go factory 88.5% 88.9% (+0.4%)
steps.go setupGlobals 94.1% 100.0% (+5.9%)

@vearutop vearutop merged commit f7030b4 into master Oct 29, 2024
6 checks passed
@vearutop vearutop deleted the upd-deps-prepare-ctx branch October 29, 2024 13:58
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