Generate Unit Test for Serializability for CallbackContext

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
testing

Research direction

Search the Java plugin for CallbackContext, the handler reinvocation path, and existing generated unit tests. Start by reading how callbackContext is passed back during reinvocation, then add the generated serializability test. Done means the test rejects user-defined callbackContext objects that cannot serialize correctly.

Written by the indexing model from the issue text.

Description

It is necessary to test if the user-defined callbackContext passed back into the handler during reinvocation is serializable. A generated test should be added to test for this so that users cannot define objects that will not serialize correctly.

Dominant language
Java
Stars
30
Forks
48
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-cloudformation/cloudformation-cli-java-plugin

All issues in aws-cloudformation/cloudformation-cli-java-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.