Skip to content

Increase code coverage to 70% #591

@vaikas

Description

@vaikas

Expected Behavior

Stated goal for the V0.2 release is >70% test coverage.

Actual Behavior

Some packages do not meet this goal.
I used this to create the list:
https://testgrid.knative.dev/knative-eventing#coverage&sort-by-failures=

This is a list of those packages. We are using the checklist here to keep track of which ones are being worked on. So, if you take one, check the box and comment on who's taking it so we don't duplicate the work.

  • github.com/knative/eventing/pkg/apis/eventing/v1alpha1/register.go
  • github.com/knative/eventing/pkg/buses/message_receiver.go
  • github.com/knative/eventing/pkg/controller/eventing/inmemory/channel/controller.go
  • github.com/knative/eventing/pkg/controller/eventing/inmemory/controller/main.go
  • github.com/knative/eventing/pkg/controller/eventing/subscription/provider.go
  • github.com/knative/eventing/pkg/controller/eventing/subscription/reconcile.go
  • github.com/knative/eventing/pkg/controller/names.go
  • github.com/knative/eventing/pkg/controller/owner_references.go
  • github.com/knative/eventing/pkg/controller/testing/mock_client.go
  • github.com/knative/eventing/pkg/controller/testing/table.go
  • github.com/knative/eventing/pkg/sidecar/configmap/filesystem/filesystem_watcher.go
  • github.com/knative/eventing/pkg/apis/eventing/v1alpha1/subscribable_channelable_validation.go
  • github.com/knative/eventing/pkg/controller/eventing/inmemory/clusterchannelprovisioner/controller.go
  • github.com/knative/eventing/cmd/controller/controller-runtime-main.go
  • github.com/knative/eventing/cmd/controller/main.go
  • github.com/knative/eventing/cmd/fanoutsidecar/main.go
  • github.com/knative/eventing/cmd/sendevent/main.go
  • github.com/knative/eventing/cmd/webhook/main.go
  • github.com/knative/eventing/pkg/apis/duck/v1alpha1/subscribable_types.go

Metadata

Metadata

Assignees

Labels

EpicEpics to group issuespriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions