Class EngineDiscoveryResults

java.lang.Object
org.junit.platform.testkit.engine.EngineDiscoveryResults

@API(status=EXPERIMENTAL, since="1.13") public class EngineDiscoveryResults extends Object
EngineDiscoveryResults represents the results of test discovery by a TestEngine on the JUnit Platform and provides access to the TestDescriptor of the engine and any DiscoveryIssues that were encountered.
Since:
1.13
  • Method Details

    • getEngineDescriptor

      public TestDescriptor getEngineDescriptor()
      Returns the root TestDescriptor of the engine.
      Returns:
      the root TestDescriptor of the engine
    • getDiscoveryIssues

      public List<DiscoveryIssue> getDiscoveryIssues()
      Returns the issues that were encountered during discovery.
      Returns:
      the issues that were encountered during discovery