In this lesson, we explore how dynamic tests can be put into a hierarchical structure, similar to the
@Nested feature for "ordinary" tests. The
DynamicTest class shares a common base class with a sibling,
DynamicContainer. It's possible to put dynamic tests into containers, and expose these containers through a
@TestFactory. The versatility of dynamic test generation meets the structural finesse of an orderly test report.
DynamicContainer.dynamicContainer()to create a dynamic group of tests
- Expose a mixed tree of dynamic nodes through
@TestFactorywith the common base class,