jenkinsci / jenkinsci/cdevents-plugin

Add additional unit tests for `KinesisSink`

Open
#18 2 comments 0 reactions 1 assignee Claimed by @ReprogramAkash View on GitHub
good first issue tests
Dominant language
Java
Stars
6
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The `KinesisSink` class is lacking test coverage, particularly for the conditional statements. Unit tests should answer questions like, "what if iamRole is not provided?" or "What if the Kinesis stream name is blank?"

The current tests use `MockedStatic` to easily abstract away dependencies on the AWS SDK. These patterns can be re-used to extend the tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.