Description
Description
Add Troubleshooting section in User guide on how to run tests with Java 17 using reflection.
In order to support user with bug
Please consider the best place for Troubleshooting section.
Expected behavior
UnitTestBot sometimes cannot combine Object assemble model without using reflection.
Sometimes a private field needs to be set or got.
Reflection methods using setAccessible is forbidden in Java 17+.
User can add keys to the JVm in order to run the tests.
Otherwise UtUtils methods can fail.
Environment
IntelliJ IDEA Ultimate 2023.3.*
Potential alternatives
Possibility to add needed keys automatically can be very complex.
One can see the list of keys needed to run tests for UnitTestBot: build.gradle.kts
Context
UnitTestBot plugin will be working on Java 17 starting from Release 2023.3
Metadata
Metadata
Assignees
Type
Projects
Status