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 github.com/matryer/moq style mocks into mockery #725

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

fix codecov project target

8ff0a85
Select commit
Loading
Failed to load commit list.
Open

Add github.com/matryer/moq style mocks into mockery #725

fix codecov project target
8ff0a85
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 21, 2024 in 1s

4.40449% of diff hit (target 0.00000%)

View this Pull Request on Codecov

4.40449% of diff hit (target 0.00000%)

Annotations

Check warning on line 280 in cmd/mockery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/mockery.go#L279-L280

Added lines #L279 - L280 were not covered by tests

Check warning on line 47 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go#L45-L47

Added lines #L45 - L47 were not covered by tests

Check warning on line 54 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go#L49-L54

Added lines #L49 - L54 were not covered by tests

Check warning on line 68 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go#L62-L68

Added lines #L62 - L68 were not covered by tests

Check warning on line 75 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go#L72-L75

Added lines #L72 - L75 were not covered by tests

Check warning on line 82 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/a_moq.go#L79-L82

Added lines #L79 - L82 were not covered by tests

Check warning on line 67 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L65-L67

Added lines #L65 - L67 were not covered by tests

Check warning on line 74 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L69-L74

Added lines #L69 - L74 were not covered by tests

Check warning on line 88 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L82-L88

Added lines #L82 - L88 were not covered by tests

Check warning on line 95 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L92-L95

Added lines #L92 - L95 were not covered by tests

Check warning on line 101 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L99-L101

Added lines #L99 - L101 were not covered by tests

Check warning on line 108 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L103-L108

Added lines #L103 - L108 were not covered by tests

Check warning on line 122 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L116-L122

Added lines #L116 - L122 were not covered by tests

Check warning on line 129 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L126-L129

Added lines #L126 - L129 were not covered by tests

Check warning on line 135 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L133-L135

Added lines #L133 - L135 were not covered by tests

Check warning on line 142 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L137-L142

Added lines #L137 - L142 were not covered by tests

Check warning on line 156 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L150-L156

Added lines #L150 - L156 were not covered by tests

Check warning on line 163 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L160-L163

Added lines #L160 - L163 were not covered by tests

Check warning on line 178 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/async_producer_moq.go#L167-L178

Added lines #L167 - L178 were not covered by tests

Check warning on line 49 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go#L47-L49

Added lines #L47 - L49 were not covered by tests

Check warning on line 59 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go#L51-L59

Added lines #L51 - L59 were not covered by tests

Check warning on line 75 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go#L68-L75

Added lines #L68 - L75 were not covered by tests

Check warning on line 82 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go#L79-L82

Added lines #L79 - L82 were not covered by tests

Check warning on line 89 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/blank_moq.go#L86-L89

Added lines #L86 - L89 were not covered by tests

Check warning on line 59 in mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/consul_lock_moq.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mocks/moq/github.com/vektra/mockery/v2/pkg/fixtures/consul_lock_moq.go#L57-L59

Added lines #L57 - L59 were not covered by tests