jenkinsci / jenkinsci/cdevents-plugin
Add additional unit tests for `KinesisSink`
Open
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
Assessment
This issue has not been assessed yet.