Skip to content

Add more granular unit tests

Codecov / codecov/patch succeeded May 7, 2024 in 0s

86.73% of diff hit (target 29.39%)

View this Pull Request on Codecov

86.73% of diff hit (target 29.39%)

Annotations

Check warning on line 40 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 44 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 48 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 52 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 56 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 60 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 64 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 68 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L67-L68

Added lines #L67 - L68 were not covered by tests

Check warning on line 72 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 76 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 80 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 84 in cmd/pinniped/cmd/oidc_client_options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/pinniped/cmd/oidc_client_options.go#L83-L84

Added lines #L83 - L84 were not covered by tests

Check warning on line 54 in internal/controller/kubecertagent/mocks/mockdynamiccert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/kubecertagent/mocks/mockdynamiccert.go#L54

Added line #L54 was not covered by tests

Check warning on line 95 in internal/controller/kubecertagent/mocks/mockdynamiccert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/kubecertagent/mocks/mockdynamiccert.go#L95

Added line #L95 was not covered by tests

Check warning on line 109 in internal/controller/kubecertagent/mocks/mockdynamiccert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/kubecertagent/mocks/mockdynamiccert.go#L109

Added line #L109 was not covered by tests

Check warning on line 977 in pkg/oidcclient/login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/oidcclient/login.go#L976-L977

Added lines #L976 - L977 were not covered by tests

Check warning on line 982 in pkg/oidcclient/login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/oidcclient/login.go#L980-L982

Added lines #L980 - L982 were not covered by tests

Check warning on line 990 in pkg/oidcclient/login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/oidcclient/login.go#L988-L990

Added lines #L988 - L990 were not covered by tests

Check warning on line 995 in pkg/oidcclient/login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/oidcclient/login.go#L994-L995

Added lines #L994 - L995 were not covered by tests