I am coding an extension in Junit5. In each method beforeAll(), beforeEach(), afterEach() and afterAll(), there will be a “context” parameter, which is an ExtensionContext value. Similar to this:
When I try to debug the data of its root, I see all test cases are listed in the children of that. However, I can’t find a way to access these values (some classes and methods are internal). Is there any solution to get the list of children here during runtime?
submitted by /u/themastermindnktp
[link] [comments]