adobe / phased-testing

A TestNG plugin that allows tests to be reused in validating System changes such as upgrades or system changes that happen in chaos engineering.
MIT License
7 stars 3 forks source link

Remove the PhasedTestManager.changeExceptionMessage method #169

Open baubakg opened 5 months ago

baubakg commented 5 months ago

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