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

Add Clue Mock Generator tool under mock #192

Merged
merged 11 commits into from
Feb 20, 2023
Merged

Add Clue Mock Generator tool under mock #192

merged 11 commits into from
Feb 20, 2023

Conversation

douglaswth
Copy link
Member

@douglaswth douglaswth commented Feb 7, 2023

This adds the Clue Mock Generator tool (cmg) that generates dependency mocks using the goa.design/clue/mock package from the exported interfaces in a given package so they do not need to be written by hand.

@codecov-commenter
Copy link

codecov-commenter commented Feb 7, 2023

Codecov Report

Merging #192 (f138da6) into main (7bfddc7) will increase coverage by 1.68%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   92.62%   94.31%   +1.68%     
==========================================
  Files          33       43      +10     
  Lines        1682     2182     +500     
==========================================
+ Hits         1558     2058     +500     
  Misses         91       91              
  Partials       33       33              
Flag Coverage Δ
micro 94.31% <100.00%> (+1.68%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mock/cmd/cmg/pkg/generate/import.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/generate/interface.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/generate/method.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/generate/mocks.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/generate/type.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/parse/interface.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/parse/method.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/parse/package.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/parse/type.go 100.00% <100.00%> (ø)
mock/cmd/cmg/pkg/parse/value.go 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@douglaswth douglaswth marked this pull request as ready for review February 14, 2023 00:37
@douglaswth douglaswth merged commit 5893311 into goadesign:main Feb 20, 2023
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.

None yet

2 participants