adobe / adobe/phased-testing

Remove the PhasedTestManager.changeExceptionMessage method

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9
Forks
4
Avg merge
2d 5h
Merged PRs (30d)
7

Description

As of Java16 setAccessible is no longer alllowed. Therefore we need to find a new way to manipulate the exception message in the PhasedTesting

Examples:
PhasedTestManagerTests.testChangeExceptio_NullPointer

1. Create exception of same type
2. Attach cause
3. Add additional message

Contributor guide

Open the contributing guide

Research direction

Start by locating PhasedTestManager.changeExceptionMessage and the PhasedTestManagerTests.testChangeExceptio_NullPointer test. Confirm the current behavior, then determine how to preserve the exception type, cause, and additional message without setAccessible; done means the method is removed and the test behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.