Skip to content

Maintenance: Add unit test coverageΒ #1080

Closed
@jeromevdl

Description

@jeromevdl

Summary

Add unit test coverage to get a better visibility on where we can have issues, and improve the coverage where needed.

Why is this needed?

Lambda Powertools for Java has a decent amount of unit tests but we don't have a clear view on what is well-tested and more important where we can improve. Having the coverage reports will help driving the effort and make sure we minimize the risk of issues.

Which area does this relate to?

Tests

Solution

We could use one of the standard frameworks (Jacoco, Cobertura) and deploy the reports to codecov.io just like the Python version does (see https://github.com/awslabs/aws-lambda-powertools-python/blob/79e7b4392a1a0f69bcf627b137c81be45867c587/.github/workflows/python_build.yml#L55)

Acknowledgment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions